:root{--ground:#0e1411;--panel:#121a16;--raised:#1a2a22;--line:#26332c;--text:#e6ede8;--muted:#9aaba1;--faint:#56685e;--action:#5fd39a;--on-action:#0b1a12;--you:#6cb8ff;--you-text:#8fc8ff;--you-bg:#1e3550;--other:#f2a65a;--other-text:#f5b97a;--other-bg:#4a3218;--agent-text:#c9b8ff;--agent-bg:#2e2550;--danger:#ff9ca8;--modified:#e2c08d;--sans:"IBM Plex Sans", system-ui, sans-serif;--mono:"IBM Plex Mono", ui-monospace, monospace;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}body{background:var(--ground);color:var(--text);font:14px/1.45 var(--sans);margin:0}button{font:inherit}.mono{font-family:var(--mono);font-size:13px}.app{flex-direction:column;min-height:100vh;display:flex}.topbar{border-bottom:1px solid var(--line);background:var(--panel);flex-wrap:wrap;align-items:center;gap:16px;padding:10px 16px;display:flex}.brand{font-size:15px;font-weight:600}.branch{border:1px solid var(--line);color:var(--muted);border-radius:999px;padding:3px 10px;font-size:12px}.spacer{flex:auto}.who{color:var(--muted);font-size:13px}.members{gap:10px;margin:0;padding:0 4px;list-style:none;display:flex}.avatar{color:var(--text);background:#3a4a42;border-radius:50%;flex:none;justify-content:center;align-items:center;font-weight:600;line-height:1;display:inline-flex;overflow:hidden}.avatar img{object-fit:cover;width:100%;height:100%;display:block}.avatar-self{box-shadow:0 0 0 2px var(--panel), 0 0 0 4px var(--you)}.avatar-other{box-shadow:0 0 0 2px var(--panel), 0 0 0 4px var(--other)}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.pill{border-radius:999px;align-items:center;gap:8px;padding:4px 10px;font-size:12px;font-weight:500;display:inline-flex}.pill-dot{background:currentColor;border-radius:50%;width:8px;height:8px}.pill-connected{color:#8ce6ba;background:#15281f}.pill-connecting,.pill-reconnecting{color:#f7d2aa;background:#2a1f10}.pill-offline{color:#c7d3e2;background:#1e2422}.pill-unauthenticated,.pill-forbidden,.pill-unavailable{color:#ffc4cc;background:#2b1418}.pill-action{font:inherit;cursor:pointer;border:1px solid #5a2a32}.pill-action:hover{border-color:var(--danger)}.body{flex-wrap:wrap;flex:auto;min-height:0;display:flex}.tree{border-right:1px solid var(--line);background:var(--panel);flex:280px;max-width:340px}.section-label{letter-spacing:.8px;text-transform:uppercase;color:var(--muted);margin:0;font-size:11px;font-weight:600}.explorer{flex-direction:column;min-height:100%;font-size:13px;display:flex}.explorer-head{align-items:center;gap:2px;padding:10px 8px 6px 14px;display:flex}.explorer-head .section-label{flex:auto}.icon-btn{width:32px;height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;display:inline-flex}.icon-btn:hover{background:var(--raised);color:var(--text)}.explorer-filter{border:1px solid var(--line);background:var(--ground);height:36px;color:var(--muted);border-radius:8px;align-items:center;gap:8px;margin:0 10px 8px;padding:0 10px;display:flex}.explorer-filter:focus-within{border-color:#2f4a66}.explorer-filter input{min-width:0;height:34px;color:var(--text);font:inherit;background:0 0;border:0;outline:none;flex:auto}.explorer-filter kbd{border:1px solid var(--line);font:11px var(--mono);border-radius:4px;padding:0 5px}.explorer-count{white-space:nowrap;font-size:12px}.explorer-modes{gap:4px;margin:0 10px 10px;display:flex}.mode-btn{border:1px solid var(--line);height:30px;color:var(--muted);cursor:pointer;background:0 0;border-radius:6px;padding:0 10px;font-size:12px}.mode-btn[aria-checked=true]{color:#bfe0ff;background:#16263a;border-color:#2f4a66}.explorer-note{color:var(--muted);margin:8px 16px}.tree-list{flex-direction:column;gap:1px;margin:0;padding:0 6px 12px;list-style:none;display:flex}.tree-row{cursor:pointer;min-height:32px;color:var(--text);outline-offset:-2px;border-radius:6px;align-items:center;gap:6px;padding-right:8px;display:flex}.tree-row:hover{background:#17241e}.tree-row[aria-selected=true]{background:var(--raised);box-shadow:inset 2px 0 0 var(--you)}.row-name{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;overflow:hidden}.row-prefix{color:#7f9187}.row-name mark{color:#f2d9a0;background:#3a3218;border-radius:2px}.chev{fill:none;stroke:var(--muted);stroke-width:2px;flex:none;transition:transform .12s}.chev-closed{transform:rotate(-90deg)}.folder{fill:#3b5247;stroke:#6e8a7b;stroke-width:1.4px;flex:none}.folder-held{fill:var(--other-bg);stroke:var(--other)}.tile{min-width:18px;height:16px;font:600 8px var(--mono);border-radius:3px;flex:none;justify-content:center;align-items:center;padding:0 2px;display:inline-flex}.tile-code{background:var(--you-bg);color:var(--you-text)}.tile-data{color:#e8c486;background:#3a3218}.tile-doc,.tile-plain{background:var(--line);color:#c3d0c8}.tile-style{color:#f0a8d8;background:#3a1f33}.row-viewers{align-items:center;gap:2px;display:inline-flex}.viewers-more{color:var(--muted);font-size:11px}.lock-badge{white-space:nowrap;border-radius:999px;flex:none;align-items:center;gap:4px;height:20px;padding:0 7px 0 2px;font-size:11px;font-weight:500;display:inline-flex}.lock-self{background:var(--you-bg);color:var(--you-text)}.lock-other{background:var(--other-bg);color:var(--other-text)}.lock-agent{background:var(--agent-bg);color:var(--agent-text);padding-left:5px}.git-letter{text-align:center;width:12px;font:600 11px var(--mono);flex:none}.git-M,.git-name-M{color:var(--modified)}.git-A,.git-name-A{color:var(--action)}.git-D,.git-name-D{color:var(--danger)}.git-name-D{text-decoration:line-through}.git-dot{background:var(--modified);border-radius:50%;flex:none;width:6px;height:6px;margin:0 3px}.lock-inherited{background:0 0;border:1px dashed;padding-left:7px;font-weight:400}.workspace-main{flex-direction:column;flex:999 560px;min-width:0;min-height:60vh;display:flex}.workspace-main>.editor-note{margin:auto}.editor{flex-direction:column;flex:auto;min-height:0;display:flex}.editor-tabs{border-bottom:1px solid var(--line);background:var(--panel);display:flex;overflow-x:auto}.editor-tab{border-right:1px solid var(--line);border-top:2px solid var(--muted);background:var(--ground);align-items:center;height:38px;padding:0 14px;display:inline-flex}.editor-body{flex:auto;min-height:320px;display:flex;position:relative}.editor-body>section,.editor-body>div:not(.editor-note){flex:auto}.editor-note{color:var(--muted);text-align:center;margin:auto;padding:24px}.editor-loading{color:var(--muted);z-index:5;background:#0e1411b8;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.editor-status{border-top:1px solid var(--line);background:var(--panel);color:var(--muted);flex-wrap:wrap;align-items:center;gap:18px;padding:6px 16px;font-size:12px;display:flex}.editor-tab-writing{border-top-color:var(--you)}.editor-tab-readonly{border-top-color:var(--other)}.status-writing,.status-acquiring{color:var(--you-text)}.status-readonly{color:var(--other-text)}.holder-strip{border-bottom:1px solid var(--line);color:#f7d2aa;background:#241a0f;flex-wrap:wrap;align-items:center;padding:8px 16px;font-size:13px;display:flex}.lost-banner{background:#20170d;border:1px solid #6b4a22;border-radius:10px;flex-wrap:wrap;align-items:flex-start;gap:14px;margin:12px 16px;padding:14px 16px;display:flex}.lost-banner>div:first-child{flex:320px}.lost-banner h2{color:#f7d2aa;margin:0 0 4px;font-size:15px;font-weight:600}.lost-banner p{color:#c9b39a;margin:0;font-size:13px;line-height:20px}.lost-actions{flex-wrap:wrap;gap:8px;display:flex}.btn-warn{background:var(--other);color:#1a1208;cursor:pointer;border:0;border-radius:8px;height:36px;padding:0 14px;font-weight:600}.held-toast{z-index:6;color:#c9b39a;background:#1c150d;border:1px solid #5a3e20;border-radius:10px;flex-direction:column;gap:4px;width:340px;max-width:calc(100% - 40px);padding:12px 14px;font-size:13px;display:flex;position:absolute;bottom:20px;right:20px;box-shadow:0 12px 32px #00000073}.held-toast strong{color:#f7d2aa;font-weight:600}.link-btn{color:var(--you-text);font:inherit;cursor:pointer;background:0 0;border:0;padding:4px;font-size:12px}.link-btn:hover{text-decoration:underline}.runs{border-left:1px solid var(--line);background:var(--panel);flex-direction:column;flex:300px;gap:14px;max-width:380px;padding:14px;display:flex;overflow-y:auto}.holder-action{color:#f7d2aa;margin-left:auto;text-decoration:underline}.plant{flex-direction:column;gap:8px;margin:0;display:flex}.plant-screen{aspect-ratio:320/170;border-radius:12px;overflow:hidden;box-shadow:inset 0 0 0 1px #00000026}.plant-face{width:100%;height:100%;display:block}.plant-caption{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:6px;font-size:12px;display:flex}.plant-title{color:var(--text);font-weight:500}@media (prefers-reduced-motion:no-preference){.plant-motion-idle,.plant-motion-team_leave{animation:4.8s ease-in-out infinite plant-float}.plant-motion-planning,.plant-motion-speaking{animation:3.2s ease-in-out infinite plant-tilt}.plant-motion-routing,.plant-motion-routing_cache,.plant-motion-routing_llm{animation:2.4s ease-in-out infinite plant-scan}.plant-motion-executing{animation:2s ease-in-out infinite plant-pulse}.plant-motion-awaiting_approval{animation:1.6s ease-in-out infinite plant-bounce}.plant-motion-blocked,.plant-motion-paused,.plant-motion-parked{animation:3s ease-in-out infinite plant-breathe}.plant-motion-error{animation:2.4s ease-in-out infinite plant-shake}.plant-motion-done,.plant-motion-team_join{animation:1s ease-out 2 plant-hop}.plant-motion-disconnected,.plant-motion-reconnecting{animation:3.6s ease-in-out infinite plant-sway}}@keyframes plant-float{50%{transform:translateY(-3%)}}@keyframes plant-tilt{25%{transform:rotate(-2deg)}75%{transform:rotate(2deg)}}@keyframes plant-scan{25%{transform:translate(-3%)}75%{transform:translate(3%)}}@keyframes plant-pulse{50%{transform:scale(1.03)}}@keyframes plant-bounce{50%{transform:translateY(-4%)}}@keyframes plant-breathe{50%{opacity:.8}}@keyframes plant-shake{0%,20%,to{transform:translate(0)}5%,15%{transform:translate(-2%)}10%{transform:translate(2%)}}@keyframes plant-hop{40%{transform:translateY(-6%)}}@keyframes plant-sway{50%{transform:rotate(-1.5deg)translateY(1%)}}.run-form{flex-direction:column;gap:8px;display:flex}.run-form label{color:var(--muted);font-size:12px}.run-form textarea{resize:vertical;border:1px solid var(--line);background:var(--ground);color:var(--text);font:13px var(--sans);border-radius:8px;padding:10px}.run-form .btn-primary{height:40px}.run-hint{color:#7f9187;margin:0;font-size:11px;line-height:16px}.run-hint code{font:11px var(--mono);color:var(--muted)}.run-empty{color:var(--muted);margin:0;font-size:13px}.run-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.run-card{border:1px solid var(--line);background:var(--ground);border-radius:10px;flex-direction:column;gap:10px;padding:12px;display:flex}.run-head{align-items:center;gap:8px;display:flex}.run-owner{font-size:13px;font-weight:600}.run-id{color:var(--muted);font-size:12px}.run-chip{color:#080e18;white-space:nowrap;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:600}.run-task{margin:0;font-size:13px;line-height:19px}.run-badges{flex-wrap:wrap;gap:6px;font-size:11px;display:flex}.run-badge{border:1px solid var(--line);color:var(--muted);border-radius:4px;padding:2px 6px}.run-badge-warn{color:#f7d2aa;border-color:#6b4a22}.run-steps{flex-direction:column;gap:4px;margin:0;padding:0;font-size:12px;list-style:none;display:flex}.run-step{color:var(--faint);gap:8px;display:flex}.run-step-mark{flex:0 0 42px;font-size:11px}.run-step-done{color:var(--muted)}.run-step-done .run-step-mark{color:var(--action)}.run-step-now{color:var(--text)}.run-step-now .run-step-mark{color:#8ce6ba}.run-step-failed,.run-step-failed .run-step-mark{color:var(--danger)}.run-step-detail{color:#7f9187}.run-note{color:var(--muted);margin:0;font-size:12px;line-height:18px}.run-error{color:#ffc4cc;margin:0;font-size:12px;line-height:18px}.run-problem{color:#f7d2aa;margin:0;font-size:12px}.run-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.run-approval{background:#1f1a0d;border:1px solid #6b5a22;border-radius:8px;flex-direction:column;gap:6px;margin:0;padding:10px;display:flex}.run-approval legend{color:#ffd58b;padding:0 4px;font-size:12px}.run-option{cursor:pointer;align-items:center;gap:8px;min-height:32px;font-size:12px;display:flex}.run-option input{accent-color:#ffd58b}.run-option-score{color:#ffd58b;flex:0 0 34px;font-weight:600}.run-option-steps{color:var(--muted);overflow-wrap:anywhere}.run-hint-input{color:var(--muted);flex-direction:column;gap:4px;font-size:12px;display:flex}.run-hint-input input{border:1px solid var(--line);background:var(--ground);height:32px;color:var(--text);font:inherit;border-radius:6px;padding:0 8px}.commit-dialog{border:1px solid var(--line);background:var(--panel);width:min(600px,100% - 32px);color:var(--text);border-radius:14px;padding:0;box-shadow:0 24px 64px #0009}.commit-dialog::backdrop{background:#070a09b8}.commit-head{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:16px 20px;display:flex}.commit-head h2{flex:auto;margin:0;font-size:17px;font-weight:600}.commit-body{flex-direction:column;gap:18px;max-height:65vh;padding:18px 20px;display:flex;overflow-y:auto}.commit-group{border:0;flex-direction:column;gap:6px;margin:0;padding:0;display:flex}.commit-group legend,.commit-group h3{letter-spacing:.8px;text-transform:uppercase;color:var(--muted);margin:0;padding:0 0 8px;font-size:11px;font-weight:600}.commit-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.commit-row{border-radius:8px;align-items:center;gap:10px;min-height:40px;padding:0 12px;display:flex}.commit-row-mine{background:var(--ground);cursor:pointer}.commit-row-mine input{width:18px;height:18px;accent-color:var(--you)}.commit-row-other{border:1px dashed var(--line);color:var(--muted);min-height:36px}.commit-path{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;overflow:hidden}.commit-counts{font-size:12px}.commit-counts .plus{color:#8ce6ba}.commit-counts .minus{color:var(--other-text)}.commit-reason{white-space:nowrap;font-size:12px}.commit-message{color:var(--muted);flex-direction:column;gap:6px;font-size:13px;display:flex}.commit-message textarea{resize:vertical;background:var(--ground);color:var(--text);font:14px var(--sans);border:1px solid #2f4a66;border-radius:8px;padding:10px 12px}.commit-queue{background:var(--ground);color:var(--muted);border-radius:8px;align-items:center;gap:10px;margin:0;padding:10px 12px;font-size:13px;display:flex}.queue-dot{background:var(--action);border-radius:50%;flex:none;width:8px;height:8px}.queue-busy{background:var(--other)}.commit-note{color:var(--muted);margin:0;font-size:13px}.commit-problem{color:#f7d2aa;background:#20170d;border:1px solid #6b4a22;border-radius:8px;margin:0;padding:10px 12px;font-size:13px}.commit-problem p{margin:0}.commit-success{color:#8ce6ba;background:#15281f;border-radius:8px;margin:0;padding:10px 12px;font-size:13px}.commit-foot{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:10px;padding:16px 20px;display:flex}.commit-hint{color:#7f9187;flex:240px;font-size:12px;line-height:18px}.commit-btn{height:40px;padding:0 16px}.btn-primary:disabled,.btn-secondary:disabled{opacity:.45;cursor:not-allowed}.topbar-btn{border:1px solid var(--line);height:32px;color:var(--text);cursor:pointer;background:0 0;border-radius:6px;padding:0 12px}.btn-secondary{border:1px solid var(--line);height:36px;color:var(--text);cursor:pointer;background:0 0;border-radius:8px;padding:0 14px}.center-note{text-align:center;color:var(--muted);margin:30vh auto}.signin{flex-direction:column;gap:16px;max-width:420px;margin:20vh auto;padding:0 16px;display:flex}.signin h1{margin:0;font-size:28px}.signin p{color:var(--muted);margin:0}.signin-error{color:var(--danger)}.btn-primary{background:var(--action);height:44px;color:var(--on-action);cursor:pointer;border:0;border-radius:10px;font-weight:600}:focus-visible{outline:2px solid var(--you);outline-offset:2px}.repo-picker{flex-direction:column;gap:12px;display:flex}.repo-picker label{color:var(--muted);flex-direction:column;gap:6px;font-size:13px;display:flex}.repo-picker input{border:1px solid var(--line);background:var(--panel);height:38px;color:var(--text);font:14px var(--mono);border-radius:6px;padding:0 10px}.repo-picker input:focus{border-color:#2f4a66;outline:none}
