*{box-sizing:border-box;margin:0;padding:0}html,body,#root{background:#0f172a;height:100dvh;overflow:hidden}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.app{color:#e2e8f0;background:#0f172a;flex-direction:column;height:100dvh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;display:flex;overflow:hidden}.app-body{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.app-sidebar{border-top:1px solid #334155;flex-direction:column;flex:none;min-height:0;max-height:45vh;display:flex;overflow:hidden}.office-container{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.office-header{background:linear-gradient(135deg,#1e293b 0%,#0f172a 100%);border-bottom:1px solid #334155;justify-content:space-between;align-items:center;padding:10px 16px;display:flex}.office-title{align-items:center;gap:6px;font-size:16px;font-weight:700;display:flex}.title-icon{font-size:20px}.office-status{color:#94a3b8;align-items:center;gap:10px;font-size:12px;display:flex}.status-dot{border-radius:50%;width:7px;height:7px;margin-right:3px;display:inline-block}.status-dot.running{background:#22c55e;animation:1.5s infinite pulse}.status-dot.idle{background:#64748b}.status-running{color:#22c55e}.status-idle{color:#64748b}.run-id{color:#64748b;background:#1e293b;border-radius:4px;padding:2px 6px;font-family:SF Mono,Fira Code,monospace;font-size:10px}@keyframes pulse{0%,to{opacity:1}50%{opacity:.4}}.office-floor{background:radial-gradient(#6366f10d 0%,#0000 70%),#0f172a;flex-direction:column;flex:1;gap:10px;padding:10px;display:flex;overflow-y:auto}.leader-row{justify-content:center;align-items:center;gap:16px;padding:4px 0;display:flex}.leader-divider{background:#334155;border-radius:1px;width:2px;height:36px}.team-grid{flex:1;grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.team-cell{background:#1e293b;border:1px solid #334155;border-radius:10px;flex-direction:column;align-items:center;padding:8px 4px;display:flex}.team-cell-label{color:#94a3b8;text-transform:uppercase;letter-spacing:.5px;text-align:center;border-bottom:1px solid #334155;width:100%;margin-bottom:4px;padding-bottom:3px;font-size:10px;font-weight:600}.team-members{flex-wrap:wrap;justify-content:center;gap:4px;display:flex}.character-wrapper{border-radius:10px;flex-direction:column;align-items:center;padding:6px 4px;transition:all .3s;display:flex;position:relative}.character-wrapper.character-working{background:#22c55e14;box-shadow:0 0 16px #22c55e1a}.character-wrapper.character-thinking{background:#60a5fa14}.character-wrapper.character-delegating{background:#fbbf2414;animation:1s ease-in-out delegatePulse}.character-wrapper.character-speaking{background:#60a5fa0f}@keyframes delegatePulse{0%,to{transform:scale(1)}50%{transform:scale(1.03)}}.character-desk{border:2px solid #334155;border-radius:4px;justify-content:center;align-items:center;width:60px;height:24px;margin-bottom:3px;display:flex}.character-monitor{background:#0f172a;border-top:2px solid #475569;border-radius:2px;justify-content:center;align-items:center;width:24px;height:16px;display:flex}.monitor-content{font-size:8px}.monitor-idle{animation:3s ease-in-out infinite idleWave}@keyframes idleWave{0%,to{opacity:.3}50%{opacity:.8}}.character-body{flex-direction:column;align-items:center;gap:2px;display:flex}.character-avatar{border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;font-size:18px;transition:transform .3s;display:flex;box-shadow:0 2px 6px #0000004d}.character-wrapper.character-working .character-avatar{animation:.5s ease-in-out infinite typing}.character-wrapper.character-thinking .character-avatar{animation:1.5s ease-in-out infinite thinking}@keyframes typing{0%,to{transform:translateY(0)}50%{transform:translateY(-2px)}}@keyframes thinking{0%,to{transform:rotate(0)}25%{transform:rotate(-5deg)}75%{transform:rotate(5deg)}}.character-name{flex-direction:column;align-items:center;gap:0;display:flex}.name-title{font-size:9px;font-weight:700}.name-text{color:#cbd5e1;font-size:10px;font-weight:500}.speech-bubble{z-index:10;background:#334155;border:1px solid #475569;border-radius:6px;min-width:60px;max-width:160px;padding:4px 8px;animation:.3s ease-out bubbleIn;position:absolute;top:-8px;left:50%;transform:translate(-50%);box-shadow:0 2px 8px #0000004d}.speech-arrow{border-top:5px solid #334155;border-left:5px solid #0000;border-right:5px solid #0000;width:0;height:0;position:absolute;bottom:-5px;left:50%;transform:translate(-50%)}.speech-text{color:#e2e8f0;word-break:break-all;font-size:10px;line-height:1.3}@keyframes bubbleIn{0%{opacity:0;transform:translate(-50%)translateY(5px)}to{opacity:1;transform:translate(-50%)translateY(0)}}.character-status-badge{color:#94a3b8;white-space:nowrap;margin-top:1px;font-size:9px}.character-task{color:#64748b;text-align:center;text-overflow:ellipsis;white-space:nowrap;max-width:90px;margin-top:1px;font-size:9px;overflow:hidden}.task-log-panel{background:#1e293b;border-top:none;flex-direction:column;flex:none;max-height:36px;transition:max-height .3s;display:flex;overflow:hidden}.task-log-panel.maximized{max-height:50vh}.log-header{color:#94a3b8;border-bottom:1px solid #334155;flex-shrink:0;justify-content:space-between;align-items:center;padding:7px 16px;font-size:11px;font-weight:600;display:flex}.log-header-actions{align-items:center;gap:8px;display:flex}.log-running-indicator{color:#22c55e;animation:1.5s infinite pulse}.log-list{flex:1;padding:4px 16px;font-size:11px;line-height:1.5;overflow-y:auto}.log-empty{color:#475569;padding:6px 0;font-style:italic}.log-entry{gap:6px;padding:2px 0;animation:.2s ease-out logSlide;display:flex}.log-type{flex-shrink:0;min-width:40px;font-size:10px;font-weight:600}.log-text{color:#cbd5e1;word-break:break-all;flex:1}.log-time{color:#475569;flex-shrink:0;font-family:SF Mono,Fira Code,monospace;font-size:9px}@keyframes logSlide{0%{opacity:0;transform:translate(-10px)}to{opacity:1;transform:translate(0)}}.response-preview{background:#1e293b;border-top:1px solid #334155;flex-direction:column;flex:2 67%;min-height:0;padding:0;transition:flex .3s;display:flex;overflow:hidden}.response-header{background:#1a2332;border-bottom:1px solid #334155;flex-shrink:0;justify-content:space-between;align-items:center;padding:8px 16px;display:flex}.response-label{color:#60a5fa;font-size:11px;font-weight:600}.report-header-actions{align-items:center;gap:8px;display:flex}.report-count{color:#64748b;font-size:10px}.response-list{flex:1;padding:4px 8px;overflow-y:auto}.report-entry{border-bottom:1px solid #293548}.report-entry:last-child{border-bottom:none}.report-question{color:#94a3b8;cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;gap:6px;width:100%;padding:8px 6px;font-size:11px;transition:background .15s;display:flex}.report-question:hover{background:#253349}.report-question.expanded{color:#e2e8f0;background:#253349;border-radius:6px 6px 0 0}.report-q-marker{color:#60a5fa;flex-shrink:0;font-size:10px;font-weight:600}.report-q-text{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.report-q-time{color:#475569;flex-shrink:0;font-size:10px}.report-q-arrow{color:#475569;flex-shrink:0;font-size:8px;transition:transform .2s}.report-q-arrow.open{transform:rotate(90deg)}.report-body{color:#cbd5e1;background:#1a2332;border-radius:0 0 6px 6px;padding:8px 12px;font-size:11px;line-height:1.5}.report-body table{border-collapse:collapse;width:100%;margin:6px 0;font-size:11px}.report-body table th,.report-body table td{text-align:left;border:1px solid #334155;padding:5px 8px}.report-body table th{color:#94a3b8;background:#1e293b;font-weight:600}.report-body table tr:nth-child(2n) td{background:#1e293b80}.report-body table tr:hover td{background:#60a5fa14}.report-entry-current .report-question-current{color:#60a5fa;border-bottom:1px solid #293548;align-items:center;gap:6px;padding:8px 6px;font-size:11px;display:flex}.report-entry-current .report-body{animation:.3s reportFadeIn}@keyframes reportFadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.app-sidebar.report-expanded .task-log-panel{border:none;flex:0 0 0;overflow:hidden}.app-sidebar.report-expanded .task-log-panel .log-list,.app-sidebar.report-expanded .task-log-panel .log-header-actions{display:none}.app-sidebar.report-expanded .response-preview{flex:100%}.delegating-hint{color:#64748b;font-style:italic;animation:1.5s infinite pulse}.report-empty{color:#475569;font-style:italic}.report-body p{margin:0 0 8px}.report-body p:last-child{margin-bottom:0}.report-body ul,.report-body ol{margin:4px 0;padding-left:20px}.report-body li{margin:2px 0}.report-body strong{color:#e2e8f0}.report-body code{color:#a78bfa;background:#0f172a;border-radius:4px;padding:1px 5px;font-size:.9em}.report-body pre{background:#0f172a;border-radius:6px;margin:6px 0;padding:10px 14px;overflow-x:auto}.report-body pre code{color:#cbd5e1;background:0 0;padding:0;font-size:.85em}.report-body blockquote{color:#94a3b8;border-left:3px solid #475569;margin:6px 0;padding:4px 12px}.report-body h1,.report-body h2,.report-body h3{color:#e2e8f0;border-bottom:1px solid #334155;margin:10px 0 4px;padding-bottom:3px}.report-body h1{color:#93c5fd;font-size:1.2em}.report-body h2{color:#a5b4fc;font-size:1.1em}.report-body h3{color:#c4b5fd;font-size:1em}.report-body table{border-collapse:collapse;border:1px solid #94a3b826;border-radius:6px;width:100%;margin:8px 0;font-size:.95em;overflow:hidden}.report-body th,.report-body td{text-align:left;border-bottom:1px solid #94a3b814;padding:6px 12px}.report-body tr:last-child td{border-bottom:none}.report-body th{color:#cbd5e1;letter-spacing:.02em;background:#94a3b814;font-size:.9em;font-weight:600}.report-body tr:hover td{background:#94a3b80a}.report-body a{color:#60a5fa;text-decoration:none}.report-body a:hover{text-decoration:underline}.chat-panel{background:#1e293b;border-top:1px solid #334155;padding:8px 12px 12px}.quick-commands{gap:4px;margin-bottom:8px;padding-bottom:3px;display:flex;overflow-x:auto}.quick-cmd-btn{color:#94a3b8;cursor:pointer;white-space:nowrap;background:#0f172a;border:1px solid #334155;border-radius:14px;flex-shrink:0;padding:3px 8px;font-size:10px;transition:all .2s}.quick-cmd-btn:hover:not(.disabled){color:#e2e8f0;background:#334155;border-color:#475569}.quick-cmd-btn.disabled{opacity:.4;cursor:not-allowed}.quick-cmd-btn.new-session-btn{color:#f0c040;border-color:#475569;margin-left:auto}.quick-cmd-btn.new-session-btn:hover:not(.disabled){background:#f0c04020;border-color:#f0c040}.chat-form{display:flex}.chat-input-row{gap:6px;width:100%;display:flex}.chat-input{color:#e2e8f0;background:#0f172a;border:1px solid #334155;border-radius:8px;outline:none;flex:1;padding:8px 12px;font-size:13px;transition:border-color .2s}.chat-input:focus{border-color:#60a5fa}.chat-input:disabled{opacity:.5}.chat-btn{cursor:pointer;border:none;border-radius:8px;flex-shrink:0;padding:8px 14px;font-size:13px;font-weight:600;transition:all .2s}.send-btn{color:#475569;background:#1e293b}.send-btn.active{color:#fff;background:#3b82f6}.send-btn:disabled{cursor:not-allowed;opacity:.5}.stop-btn{color:#fff;background:#dc2626}.stop-btn:hover{background:#b91c1c}.panel-toggle-btn{color:#94a3b8;cursor:pointer;background:0 0;border:1px solid #475569;border-radius:4px;justify-content:center;align-items:center;width:20px;height:20px;padding:0;font-size:10px;line-height:1;transition:all .15s;display:flex}.panel-toggle-btn:hover{color:#e2e8f0;background:#334155;border-color:#64748b}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#334155;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#475569}@media (width>=769px){.app-body{flex-direction:row}.app-sidebar{background:#1a2332;border-top:none;border-left:1px solid #334155;flex-direction:column;flex:0 0 736px;max-height:none}.app-sidebar.report-expanded{flex:0 0 736px}.task-log-panel{flex:33%;max-height:none}.task-log-panel.maximized{flex:3 80%;max-height:none}.response-preview{border-top:1px solid #334155;flex:2 67%}.office-header{padding:14px 24px}.office-title{gap:10px;font-size:22px}.title-icon{font-size:26px}.office-status{gap:14px;font-size:14px}.status-dot{width:9px;height:9px}.run-id{padding:3px 10px;font-size:12px}.office-floor{gap:24px;padding:24px 32px}.leader-row{gap:40px;padding:8px 0}.leader-divider{height:56px}.team-grid{gap:20px}.team-cell{border-radius:14px;padding:20px 16px}.team-cell-label{letter-spacing:1px;margin-bottom:12px;padding-bottom:8px;font-size:13px}.team-members{gap:16px}.character-wrapper{border-radius:14px;padding:12px 8px}.character-desk{width:100px;height:36px;margin-bottom:6px}.character-monitor{border-top-width:3px;width:40px;height:26px}.monitor-content{font-size:12px}.character-avatar{width:56px;height:56px;font-size:28px;box-shadow:0 3px 12px #0000004d}.character-body{gap:5px}.name-title{font-size:12px}.name-text{font-size:13px}.speech-bubble{border-radius:10px;min-width:100px;max-width:260px;padding:8px 14px;top:-12px;box-shadow:0 4px 16px #0006}.speech-arrow{border-top-width:7px;border-left-width:7px;border-right-width:7px;bottom:-7px}.speech-text{font-size:13px;line-height:1.4}.character-status-badge{margin-top:3px;font-size:11px}.character-task{max-width:160px;margin-top:3px;font-size:11px}.log-header{padding:10px 24px;font-size:13px}.log-list{padding:6px 24px;font-size:13px;line-height:1.7}.log-entry{gap:10px;padding:3px 0}.log-type{min-width:55px;font-size:12px}.log-time{font-size:11px}.response-header{padding:10px 24px}.response-label{font-size:13px}.report-count{font-size:11px}.report-question{padding:10px 8px;font-size:13px}.report-q-marker{font-size:11px}.report-q-text{font-size:13px}.report-q-time{font-size:11px}.report-body{padding:12px 16px;font-size:14px}.response-list{padding:6px 12px}.delegating-hint,.report-empty{font-size:14px}.chat-panel{padding:14px 24px 18px}.quick-commands{gap:8px;margin-bottom:12px}.quick-cmd-btn{border-radius:18px;padding:5px 14px;font-size:12px}.chat-input{border-radius:10px;padding:12px 18px;font-size:15px}.chat-input-row{gap:10px}.chat-btn{border-radius:10px;padding:12px 22px;font-size:15px}.panel-toggle-btn{width:24px;height:24px;font-size:12px}::-webkit-scrollbar{width:8px}}
