:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#e9eef5;background:#111821;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}input,textarea,select{color:#e9eef5;background:#1f2b38;border:1px solid #405061;border-radius:10px;outline:none}input:focus,textarea:focus,select:focus{border-color:#7fb8ff}button:focus-visible{outline:2px solid #90c8ff;outline-offset:2px}.app{height:100dvh;display:grid;grid-template-columns:300px minmax(0,1fr)}.sidebar{background:#17212c;border-right:1px solid #2c3948;display:flex;flex-direction:column;min-height:0}.sidebar-top{padding:18px 18px 12px;display:flex;justify-content:space-between;align-items:center}.brand-small{font-size:15px;color:#f2f6fa}.brand-small:first-letter,.brand{color:#82bdff}.text-button{background:transparent;border:0;color:#a9b8c9;font-size:12px}.sidebar-scroll{overflow-y:auto;padding:0 12px 22px}.side-section{padding:16px 6px;border-top:1px solid #2c3948}.section-title{text-transform:uppercase;letter-spacing:.09em;color:#91a1b2;font-size:11px;font-weight:700;margin:0 0 12px}.project-form{display:flex;gap:6px}.project-form input{width:100%;padding:9px}.project-form button,.new-task button,.composer button,.approval-actions button{border:0;border-radius:9px;background:#85bdff;color:#102131;font-weight:700}.project-form button{width:40px;font-size:22px}.project-list{display:grid;gap:5px;margin-top:12px}.project-name{display:flex;align-items:center;gap:9px;padding:7px 4px;font-size:13px;color:#c7d3e0}.project-dot{width:8px;height:8px;border-radius:50%;background:#87bfff}.new-task{display:grid;gap:8px}.new-task select,.new-task textarea{width:100%;padding:9px}.new-task textarea{resize:vertical}.new-task button{padding:10px}.task-list{display:grid;gap:4px}.task-row{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left;padding:10px;border:0;border-radius:10px;background:transparent;color:#dbe5ef}.task-row:hover,.task-row.active{background:#273748}.task-name{font-size:13px;font-weight:600}.task-state{font-size:11px;color:#96a9bc}.chat{min-width:0;display:flex;flex-direction:column;height:100dvh;background:#111821}.chat-header{height:72px;flex:none;display:flex;align-items:center;gap:12px;padding:0 28px;border-bottom:1px solid #273442}.chat-header h1{font-size:16px;margin:0 0 3px}.status-line{font-size:12px;color:#9aaec0}.stop-button{margin-left:auto;background:#2b3948;color:#d6e3ee;border:1px solid #465668;border-radius:8px;padding:8px 12px}.chat-scroll{flex:1;overflow-y:auto}.chat-stream{max-width:850px;margin:0 auto;padding:32px 28px 50px;display:flex;flex-direction:column;gap:20px}.bubble-row{display:flex}.bubble-row.user{justify-content:flex-end}.bubble{max-width:min(84%,680px);white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55;font-size:14px}.user .bubble{background:#2c4761;border:1px solid #3d5c78;padding:12px 16px;border-radius:16px 16px 4px}.assistant .bubble{padding:4px 0}.assistant .bubble p{margin:0 0 13px}.assistant .bubble p:last-child{margin-bottom:0}.assistant .bubble pre{background:#1d2935;padding:15px;border-radius:10px;overflow:auto}.assistant .bubble code{font-family:ui-monospace,SFMono-Regular,monospace}.assistant .bubble a{color:#9ecaff}.notice .bubble,.notice-inline{background:#322b2b;color:#f3c4ba;border:1px solid #654c49;border-radius:10px;padding:11px 14px;font-size:13px}.notice-inline{align-self:center}.empty{margin:auto;color:#8396a8}.composer{display:flex;align-items:flex-end;gap:10px;width:calc(100% - 56px);max-width:794px;margin:0 auto 22px;padding:8px;background:#1d2935;border:1px solid #3b4c5e;border-radius:16px}.composer textarea{flex:1;border:0;background:transparent;resize:none;padding:8px 10px;min-height:45px;max-height:180px}.composer textarea:focus{border:0}.composer button{width:40px;height:40px;font-size:18px;flex:none}.composer button:disabled{opacity:.4;cursor:default}.approval-card{border:1px solid #7a684b;background:#2a2926;border-radius:12px;padding:16px;max-width:650px}.approval-card p{font-size:13px;color:#c9c4b9}.approval-card details{font-size:12px}.approval-card pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow:auto}.approval-actions{display:flex;gap:8px;margin-top:14px}.approval-actions button{padding:9px 13px}.approval-actions button.secondary{background:#3e4650;color:#e5ecf3}.back-button{display:none}.welcome{margin:auto;text-align:center;color:#9aacbd}.welcome h1{color:#e9eef5;font-size:22px}.brand{font-size:38px}.login{max-width:370px;margin:15vh auto;padding:24px}.login h1{font-size:26px;margin-bottom:4px}.login p{color:#9aacbd}.login form{display:grid;gap:12px;margin-top:30px}.login input,.login button{padding:13px;border-radius:10px}.login button{border:0;background:#85bdff;color:#112234;font-weight:700}.error{color:#ffaaa1}.toast{position:absolute;bottom:95px;left:50%;transform:translate(-50%);background:#4b2a2a;color:#ffd8d3;padding:10px 14px;border-radius:9px;max-width:80vw}@media(max-width:700px){.app{display:block}.sidebar,.chat{width:100%;height:100dvh}.mobile-hidden{display:none}.sidebar-top{padding-top:20px}.chat-header{padding:0 16px}.back-button{display:block;border:0;background:none;color:#a8cdf6;font-size:32px;padding:0 5px}.chat-stream{padding:22px 16px 35px;gap:16px}.bubble{max-width:90%}.composer{width:calc(100% - 24px);margin-bottom:max(12px,env(safe-area-inset-bottom))}.stop-button{font-size:12px}}.dialog-hint{color:#91a1b2;font-size:12px;line-height:1.45;margin:10px 2px 0}.agent-activity{display:flex;align-items:center;gap:10px;color:#a9c7e5;font-size:13px;min-height:24px}.activity-dots{display:inline-flex;align-items:center;gap:4px;height:16px}.activity-dots i{display:block;width:5px;height:5px;border-radius:50%;background:#8fc6ff;animation:activity-pulse 1.2s infinite ease-in-out}.activity-dots i:nth-child(2){animation-delay:.15s}.activity-dots i:nth-child(3){animation-delay:.3s}@keyframes activity-pulse{0%,60%,to{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-4px)}}@media(prefers-reduced-motion:reduce){.activity-dots i{animation:none;opacity:.8}}.usage-line{display:block;color:#a9bed2;font-size:11px;margin-top:3px}.limits{display:grid;gap:5px;color:#c8d7e6;font-size:12px}.limits small{color:#91a1b2}.small-action,.passkey-login{border:1px solid #5b7490;border-radius:9px;background:#263b50;color:#d7eaff;padding:8px 10px}.passkey-login{width:100%;margin-top:10px}.passkey-row{display:flex;align-items:center;justify-content:space-between;color:#c8d7e6;font-size:12px;margin-top:8px}.passkey-row button{border:0;background:transparent;color:#a9c7e5;font-size:20px}.approval-description{padding:8px 0;overflow-wrap:anywhere}.approval-description p{white-space:pre-wrap;margin:6px 0;color:#e8e4da}.chat-header{min-height:72px;height:auto;padding-top:8px;padding-bottom:8px}.passkey-name{width:100%;padding:8px;margin-bottom:8px;font-size:12px}.git-field{display:block;width:100%;padding:8px;margin-bottom:8px;font-size:12px}.publish-card{border:1px solid #5a7895;border-radius:12px;background:#1d2d3d;padding:16px;display:grid;gap:10px;max-width:650px;font-size:13px}.publish-card p{margin:0;color:#c1d3e3}.publish-card select,.publish-card input:not([type=radio]){padding:9px;width:100%}.publish-card label{display:flex;align-items:center;gap:7px}
