:root{color-scheme:light;font-family:Inter,system-ui,sans-serif;color:#000;background:#fff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-synthesis:none}*{box-sizing:border-box;margin:0;padding:0}body{margin:0;min-height:100vh}#root{min-height:100vh}.app-shell{display:flex;min-height:100vh}.sidebar{width:235px;flex-shrink:0;background:#fff;display:flex;flex-direction:column;gap:20px;padding:16px 6px;height:100vh;position:sticky;top:0;overflow:hidden}.sidebar-top{display:flex;flex-direction:column}.sidebar-action{display:flex;align-items:center;gap:6px;padding:8px 10px;cursor:pointer;border-radius:8px;font-size:15px;line-height:18px;transition:background .15s ease}.sidebar-action:hover{background:#f9f9f9}.sidebar-section{display:flex;flex-direction:column}.section-label{font-size:14px;line-height:18px;opacity:.4;padding:8px 10px}.project-row{display:flex;align-items:center;gap:6px;padding:8px 10px}.project-icon{width:20px;height:20px;display:flex;align-items:center;justify-content:center}.project-name{font-size:15px;font-weight:500;line-height:18px}.thread-list{display:flex;flex-direction:column;align-items:flex-end}.thread-item{display:flex;align-items:center;gap:6px;padding:8px 10px;border-radius:8px;width:182px;font-size:15px;line-height:18px;cursor:pointer;transition:background .15s ease;position:relative}.thread-item.active{background:#f9f9f9}.thread-item:hover:not(.active){background:#fafafa}.thread-muted{opacity:.7}.thread-dots{display:flex;align-items:center;position:relative;min-width:9px;min-height:9px}.thread-dot{width:9px;height:9px;border-radius:50%;border:1px solid #FFFFFF;display:block;transition:background-color .3s ease;animation:dotPop .3s cubic-bezier(.34,1.56,.64,1) both}.thread-dot-empty{width:9px;height:9px;border-radius:50%;border:1px dashed #DDD;display:block}@keyframes dotPop{0%{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}.agent-list{display:flex;flex-direction:column}.agent-row{display:flex;align-items:center;gap:6px;padding:8px 10px;cursor:pointer;border-radius:8px;transition:background .15s ease,opacity .3s ease}.agent-row:hover{background:#f9f9f9}.agent-row:not(.agent-active){opacity:.45}.agent-row.agent-active{opacity:1}.agent-icon-wrap{width:20px;height:20px;display:flex;align-items:center;justify-content:center}.agent-name{font-size:15px;line-height:18px}.agent-role{font-size:13px;line-height:16px;opacity:.3;transition:opacity .3s ease}.agent-role.active{opacity:.65}.agent-role.working{opacity:.7}.main-area{flex:1;display:flex;flex-direction:column;min-width:0;height:100vh;overflow:hidden}.top-bar{display:flex;align-items:center;justify-content:space-between;padding:24px;height:66px;position:sticky;top:0;background:#fff;z-index:10;flex-shrink:0}.breadcrumb{display:flex;align-items:center;gap:9px}.breadcrumb-parent{font-size:14px;font-weight:500;line-height:18px;opacity:.4}.breadcrumb-sep{font-size:14px;line-height:18px;opacity:.2}.breadcrumb-current{font-size:14px;font-weight:500;line-height:18px}.topbar-agent-icons{display:flex;align-items:center;gap:6px}.topbar-agent-icons.inline{display:inline-flex;margin-left:10px;vertical-align:middle}.topbar-agent-icon{width:16px;height:16px;display:flex;align-items:center;justify-content:center}.topbar-agent-icon.entering{animation:topbarIconIn .22s cubic-bezier(.2,.8,.2,1) both}@keyframes topbarIconIn{0%{opacity:0;transform:translateY(-4px) scale(.9)}to{opacity:1;transform:translateY(0) scale(1)}}.tab-switcher{display:flex;gap:4px;background:#f9f9f9;border-radius:9999px;padding:4px}.tab-btn{border:0;background:transparent;border-radius:9999px;padding:8px 12px;font-family:inherit;font-size:14px;font-weight:500;line-height:18px;cursor:pointer;transition:background .15s ease}.tab-btn.active{background:#fff}.tab-btn:hover:not(.active){background:#f0f0f0}.content-columns{display:flex;flex:1;min-height:0;overflow:hidden}.content-columns.mode-file .chat-area,.content-columns.mode-memory .chat-area{flex:0 0 576px;max-width:576px}.content-columns.mode-file .right-panel,.content-columns.mode-memory .right-panel{width:420px}.chat-area{flex:1;display:flex;flex-direction:column;gap:0;padding:0 24px;min-width:0;overflow-y:auto;overflow-x:hidden}.chat-header{display:flex;align-items:flex-end;justify-content:space-between;height:180px;min-height:180px;gap:40px;flex-shrink:0;margin-bottom:36px;transition:height .22s ease,min-height .22s ease,opacity .22s ease,margin .22s ease}.chat-header.collapsed{height:0;min-height:0;margin:0;opacity:0;overflow:hidden;pointer-events:none}.chat-header-text{display:flex;flex-direction:column;gap:4px;flex-shrink:0}.chat-header h1{font-family:Inter,system-ui,sans-serif;font-size:48px;font-weight:500;line-height:58px;margin:0}.chat-date{font-size:14px;line-height:22px;opacity:.3}.header-illustration{position:relative;width:408px;height:179px;flex-shrink:0;cursor:default}.illust-icon{position:absolute;display:flex;align-items:center;justify-content:center;border-radius:9999px;padding:8px;will-change:transform}.physics-body{transition:none}.illust-icon{animation:iconDrop .5s cubic-bezier(.34,1.56,.64,1) both}@keyframes iconDrop{0%{opacity:0;transform:scale(.3) translateY(-40px)}}.chat-stream{display:flex;flex-direction:column;gap:32px;overflow-y:auto;padding-top:24px;padding-bottom:40px}.timestamp{font-size:13px;line-height:16px;opacity:.3;text-align:right;padding-right:12px}.msg-row{display:flex;gap:12px;transition:transform .22s ease,opacity .22s ease}.msg-focus{transform:translate(6px)}.msg-focus .msg-bubble{box-shadow:0 0 0 2px #e7e7e7}.msg-row.owner{justify-content:flex-end}.msg-bubble{border-radius:16px;padding:8px 12px;max-width:480px}.msg-bubble p{font-size:15px;line-height:20px}.owner-bubble{background:#f4f5f7}.msg-avatar{width:36px;height:36px;border-radius:9999px;display:flex;align-items:center;justify-content:center;flex-shrink:0;padding:8px}.msg-content{display:flex;flex-direction:column;gap:14px}.msg-bubbles{display:flex;flex-direction:column;gap:2px}.agent-bubble{max-width:480px}.msg-enter{animation:msgSlideIn .45s cubic-bezier(.2,.8,.2,1) both}@keyframes msgSlideIn{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}.typing-indicator{display:flex;align-items:center;gap:4px;padding:12px 16px;border-radius:16px;background:#f4f5f7;width:fit-content;animation:msgSlideIn .3s cubic-bezier(.2,.8,.2,1) both}.typing-dot{width:7px;height:7px;border-radius:50%;background:silver;animation:typingBounce 1.4s ease-in-out infinite}.typing-dot:nth-child(2){animation-delay:.2s}.typing-dot:nth-child(3){animation-delay:.4s}@keyframes typingBounce{0%,60%,to{transform:translateY(0);opacity:.4}30%{transform:translateY(-6px);opacity:1}}.ref-row{display:flex;gap:6px;padding-left:4px;flex-wrap:wrap}.ref-chip{display:flex;align-items:center;gap:2px;padding:4px 8px;border:1px solid #F4F5F7;border-radius:999px;font-size:13px;line-height:16px;background:#fff;cursor:pointer;transition:background .18s ease,border-color .18s ease,transform .18s ease}.ref-chip:hover{background:#fafafa;border-color:#e9e9e9}.ref-chip.selected{background:#f4f5f7;border-color:#dadada;transform:translateY(-1px)}.ref-chip-icon{width:16px;height:16px;display:flex;align-items:center;justify-content:center;padding:2px}.ref-label{opacity:.6}.ref-label-bold{font-weight:500}.spin{animation:spin 2s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.right-panel{width:317px;flex-shrink:0;padding:24px;display:flex;flex-direction:column;gap:32px;overflow-y:auto;overflow-x:hidden}.panel-title{font-family:Inter,system-ui,sans-serif;font-size:28px;font-weight:500;line-height:34px;margin:0}.panel-block{animation:fadeSwap .3s ease both}.right-panel{position:relative}.panel-selection{padding:12px 14px;border-radius:12px;background:#f8f8f8}.panel-agents{display:flex;flex-direction:column;gap:8px;min-height:38px}.panel-agents-empty{font-size:13px;line-height:16px;opacity:.3;padding:10px 0}.panel-agent-pill{display:flex;align-items:center;gap:6px;padding:8px 10px;border:1px solid #F2F2F2;border-radius:9999px;width:fit-content}.pill-enter{animation:pillSlideIn .4s cubic-bezier(.34,1.56,.64,1) both}@keyframes pillSlideIn{0%{opacity:0;transform:translate(-12px) scale(.9)}to{opacity:1;transform:translate(0) scale(1)}}.pill-icon{width:20px;height:20px;display:flex;align-items:center;justify-content:center}.pill-name{font-size:15px;line-height:18px}.pill-role{font-size:13px;line-height:16px;opacity:.3;transition:opacity .3s ease}.pill-role.working{opacity:.7}.panel-objectives{display:flex;flex-direction:column;gap:8px}.panel-objectives.compact{gap:4px}.panel-timeline-list,.panel-stack{display:flex;flex-direction:column;gap:12px}.timeline-card,.context-card{display:flex;flex-direction:column;gap:8px;padding:14px 0;transition:background .22s ease,transform .22s ease,border-color .22s ease;border:0;text-align:left;width:100%;background:transparent;cursor:pointer}.timeline-card.highlighted,.context-card.highlighted{background:#fafafa;border-top-color:#e3e3e3;transform:translate(4px)}.timeline-card.compact{padding:8px 0}.timeline-compact-row{display:flex;align-items:center;gap:8px}.compact-title{font-size:14px;line-height:18px}.timeline-card.compact .timeline-description,.timeline-card.compact .timeline-meta{display:none}.timeline-card:first-child,.context-card:first-child{padding-top:0}.timeline-meta,.context-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.timeline-link,.context-badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;font-size:12px;line-height:14px;background:#f6f6f6}.context-badge.created{background:#f1edfe}.context-badge.updated{background:#e6ffe6}.context-badge.referenced,.context-badge.memory-scope{background:#f4f5f7}.timeline-meta span,.context-time,.context-foot{font-size:12px;line-height:16px;opacity:.4}.timeline-title,.context-title{font-size:15px;font-weight:500;line-height:20px}.timeline-description,.context-copy{font-size:14px;line-height:22px;opacity:.72}.objective-row{display:flex;align-items:center;gap:8px;transition:opacity .4s ease}.objective-row.done .objective-label{opacity:.3}.panel-objectives.compact .objective-row.done .objective-label{opacity:.55}.objective-row.current .objective-label{opacity:.8;font-weight:500}.compact-label{font-size:13px;line-height:18px}.objective-dot{width:16px;height:16px;flex-shrink:0;display:flex;align-items:center;justify-content:center}.objective-dot:after{content:"";width:8px;height:8px;border-radius:50%;border:1.5px solid #D0D0D0;display:block}.objective-row.current .objective-dot:after{border-color:#000;background:#000;animation:pulseDot 2s ease-in-out infinite}@keyframes pulseDot{0%,to{box-shadow:0 0 #00000026}50%{box-shadow:0 0 0 4px #0000000f}}.objective-label{font-size:14px;line-height:22px;opacity:.3;transition:opacity .4s ease,font-weight .2s ease}.panel-current{display:flex;flex-direction:column;gap:12px}.current-label{font-size:13px;line-height:16px;opacity:.4}.current-text{font-size:14px;line-height:22px;margin:0;animation:fadeSwap .4s ease both}@keyframes fadeSwap{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 1280px){.header-illustration{width:300px;height:140px}.right-panel{width:280px}}@media (max-width: 1080px){.app-shell{flex-direction:column}.sidebar{width:100%;flex-direction:row;flex-wrap:wrap;padding:12px 16px;gap:12px;border-bottom:1px solid #F2F2F2}.sidebar-section{flex-direction:row;align-items:center;gap:8px}.section-label{padding:4px 8px}.thread-list{flex-direction:row;align-items:center}.thread-item{width:auto}.agent-list{flex-direction:row;gap:4px}.content-columns{flex-direction:column}.right-panel{width:100%;flex-direction:row;flex-wrap:wrap;gap:24px;border-top:1px solid #F2F2F2;padding:24px}.panel-title{font-size:22px;line-height:28px;width:100%}.header-illustration{display:none}.chat-header{height:auto;padding-top:24px}}@media (max-width: 768px){.sidebar{flex-direction:column;gap:8px}.sidebar-section{flex-direction:column;align-items:flex-start}.agent-list{flex-direction:column}.top-bar{flex-direction:column;align-items:flex-start;gap:12px;height:auto}.chat-header h1{font-size:32px;line-height:40px}.msg-bubble,.agent-bubble{max-width:100%}.right-panel{flex-direction:column}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
