html,body,#app,.app-shell{min-height:100vh;margin:0}*{box-sizing:border-box}.shell{color:#e2e8f0;background:linear-gradient(#0f172a 0%,#111827 70%,#0b1024 100%);grid-template-rows:auto 1fr auto;font-family:Apple SD Gothic Neo,Pretendard,system-ui,-apple-system,sans-serif;display:grid;position:fixed;inset:0;overflow:hidden}.shell.header-hidden .header{display:none}.header{background:#0f172af5;border-bottom:1px solid #94a3b82e;height:36px;padding:0 14px}.hdr-row{align-items:center;gap:10px;height:100%;font-size:12px;display:flex}.hdr-tag{color:#1f2937;letter-spacing:.06em;background:linear-gradient(135deg,#f59e0b,#f97316);border-radius:999px;padding:3px 10px;font-size:11px;font-weight:700}.hdr-sub{color:#94a3b8;flex:auto}.hdr-toggle{color:#cbd5e1;cursor:pointer;background:#94a3b81f;border:1px solid #94a3b84d;border-radius:6px;width:24px;height:24px;padding:0;font-family:inherit;line-height:1}.header-show{z-index:50;color:#dbeafe;cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0f172aeb;border:1px solid #60a5fa66;border-radius:999px;padding:5px 12px;font-family:inherit;font-size:11px;position:fixed;top:8px;left:50%;transform:translate(-50%)}.header-show[hidden]{display:none}.stage-wrap{min-height:0;position:relative}.canvas{background:#1e293b;width:100%;height:100%;position:relative;overflow:hidden}.canvas canvas{width:100%;height:100%;display:block}.action-bar{background:#0f172af5;border-top:1px solid #94a3b82e;padding:10px 14px}.bar-inner{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;display:flex}.cam-btn{color:#e2e8f0;cursor:pointer;background:#1e293beb;border:1px solid #94a3b859;border-radius:999px;padding:9px 16px;font-family:inherit;font-size:13px;font-weight:600}.cam-btn.on{color:#bbf7d0;background:#22c55e2e;border-color:#22c55e8c}.cam-btn:hover{filter:brightness(1.1)}.placement-btn{color:#e2e8f0;cursor:pointer;background:#1e293beb;border:1px solid #94a3b859;border-radius:999px;padding:9px 16px;font-family:inherit;font-size:13px;font-weight:600}.placement-btn.on{color:#fde68a;background:#facc1538;border-color:#facc1599}.placement-btn:hover{filter:brightness(1.1)}.agent-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2563eb,#7c3aed);border:0;border-radius:999px;padding:10px 32px;font-family:inherit;font-size:14px;font-weight:700;box-shadow:0 4px 16px #2563eb59}.agent-btn:hover{background:linear-gradient(135deg,#1d4ed8,#6d28d9)}.boss-pill-host{z-index:40;position:absolute;top:12px;left:12px}.boss-modal-host{z-index:80}.boss-modal-host:empty{display:none}.boss-modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:80;background:#020617b8;justify-content:center;align-items:center;padding:24px;animation:.16s ease-out bossModalFadeIn;display:flex;position:fixed;inset:0}@keyframes bossModalFadeIn{0%{opacity:0}to{opacity:1}}.boss-modal{background:linear-gradient(#0f172a 0%,#0b1220 100%);border:1px solid #f59e0b5c;border-radius:16px;flex-direction:column;width:100%;max-width:720px;max-height:calc(100vh - 48px);display:flex;overflow:hidden;box-shadow:0 20px 60px #000000a6}.boss-modal-head{border-bottom:1px solid #94a3b824;justify-content:space-between;align-items:center;padding:14px 18px;display:flex}.boss-modal-head h3{color:#fde68a;letter-spacing:.2px;margin:0;font-size:15px;font-weight:700}.boss-modal-close{color:#94a3b8;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;font-family:inherit;font-size:22px;display:flex}.boss-modal-close:hover{color:#e2e8f0;background:#94a3b81f}.boss-modal-tabs{border-bottom:1px solid #94a3b824;flex-shrink:0;display:flex;overflow-x:auto}.boss-modal-tab{color:#94a3b8;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;flex-shrink:0;align-items:center;gap:6px;padding:11px 16px;font-family:inherit;font-size:13px;font-weight:600;transition:color .12s,border-color .12s;display:inline-flex}.boss-modal-tab:hover{color:#cbd5e1}.boss-modal-tab.active{color:#fde68a;border-bottom-color:#f59e0b}.boss-modal-tab.hot:not(.active){color:#fca5a5}.boss-modal-tab-badge{color:#cbd5e1;background:#94a3b838;border-radius:999px;justify-content:center;align-items:center;min-width:18px;height:18px;padding:0 6px;font-size:10px;font-weight:800;display:inline-flex}.boss-modal-tab-badge.hot{color:#fff;background:#ef4444;animation:1.2s ease-in-out infinite pulse;box-shadow:0 0 0 2px #ef444452}.boss-modal-body{flex:1;padding:16px 18px 20px;overflow-y:auto}.boss-compose{flex-direction:column;gap:10px;display:flex}.boss-compose-label{color:#94a3b8;text-transform:uppercase;letter-spacing:.5px;font-size:11px;font-weight:700}.boss-compose-textarea{color:#e2e8f0;resize:vertical;box-sizing:border-box;background:#02061799;border:1px solid #94a3b847;border-radius:10px;width:100%;min-height:140px;padding:12px 14px;font-family:inherit;font-size:16px;line-height:1.5}.boss-compose-textarea:focus{outline-offset:1px;border-color:#0000;outline:2px solid #f59e0b8c}.boss-compose-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.boss-compose-select{color:#e2e8f0;background:#02061799;border:1px solid #94a3b847;border-radius:8px;flex:140px;min-width:0;padding:9px 10px;font-family:inherit;font-size:13px}.boss-compose-submit{cursor:pointer;color:#1f2937;background:linear-gradient(135deg,#f59e0b,#f97316);border:0;border-radius:8px;margin-left:auto;padding:9px 22px;font-family:inherit;font-size:13px;font-weight:700}.boss-compose-submit:hover{filter:brightness(1.08)}.boss-compose-hint{color:#94a3b8;margin:4px 0 0;font-size:11px}.boss-empty-pad{text-align:center;padding:18px 8px}.reports-toolbar{flex-direction:column;gap:8px;margin-bottom:12px;display:flex}.report-search{color:#e2e8f0;box-sizing:border-box;background:#02061799;border:1px solid #94a3b847;border-radius:8px;width:100%;padding:9px 12px;font-family:inherit;font-size:13px}.report-search:focus{outline-offset:1px;border-color:#0000;outline:2px solid #f59e0b8c}.report-chips{flex-wrap:wrap;gap:6px;display:flex}.report-chip{color:#cbd5e1;cursor:pointer;background:#94a3b81f;border:1px solid #0000;border-radius:999px;padding:4px 10px;font-family:inherit;font-size:11px;font-weight:600}.report-chip:hover{background:#94a3b838}.report-chip.active{color:#fde68a;background:#f59e0b38;border-color:#f59e0b70}.report-chip.hot{color:#fca5a5;background:#ef44441f}.report-chip.hot.active{background:#ef444447;border-color:#ef44448c}.report-chip.clear{color:#94a3b8;background:0 0;border:1px dashed #94a3b852}.reports-list{flex-direction:column;gap:8px;display:flex}.report-card{background:#0f172ab3;border:1px solid #94a3b82e;border-radius:10px;flex-direction:column;gap:6px;padding:10px 12px;display:flex}.report-card:hover{border-color:#f59e0b61}.report-head{flex-wrap:wrap;align-items:center;gap:8px;font-size:11px;display:flex}.report-agent{color:#fde68a;font-weight:700}.report-label{color:#93c5fd;background:#60a5fa2e;border-radius:999px;padding:1px 7px;font-weight:600}.report-status{border-radius:999px;padding:1px 7px;font-weight:700}.report-status.done{color:#4ade80;background:#22c55e2e}.report-status.error{color:#fca5a5;background:#ef44442e}.report-meta{color:#94a3b8;margin-left:auto}.report-title{color:#e2e8f0;word-break:break-word;margin:0;font-size:13px;line-height:1.4}.report-actions{justify-content:flex-end;display:flex}.report-open-btn{color:#fde68a;cursor:pointer;background:#f59e0b2e;border:0;border-radius:7px;padding:4px 12px;font-family:inherit;font-size:11px;font-weight:700}.report-open-btn:hover{background:#f59e0b52}.report-detail-head{border-bottom:1px solid #94a3b824;flex-direction:column;gap:6px;margin-bottom:10px;padding-bottom:10px;display:flex}.report-back{color:#94a3b8;cursor:pointer;background:0 0;border:0;align-self:flex-start;font-family:inherit;font-size:12px}.report-back:hover{color:#fde68a}.report-detail-head h4{color:#fde68a;word-break:break-word;margin:0;font-size:14px}.report-detail-meta{color:#94a3b8;flex-wrap:wrap;gap:8px;margin:0;font-size:11px;display:flex}.report-detail-meta span{background:#94a3b81a;border-radius:999px;padding:2px 7px}.report-detail-body{color:#cbd5e1;white-space:pre-wrap;word-break:break-word;background:#02061799;border-radius:8px;max-height:60vh;margin:0;padding:12px;font-family:ui-monospace,JetBrains Mono,monospace;font-size:11px;line-height:1.55;overflow-y:auto}.boss-approvals.idle{border-color:#94a3b847;padding:8px 12px 10px;box-shadow:0 6px 18px #0006}.boss-approvals.idle .boss-approvals-head strong{color:#cbd5e1}.boss-approvals-count.idle{color:#94a3b8;background:#94a3b829}.boss-approvals-count.active{color:#fca5a5;background:#ef44442e}.boss-approvals-empty{color:#94a3b8;margin:6px 0 0;font-size:11px;line-height:1.4}.boss-approvals-toggle{color:#94a3b8;cursor:pointer;background:0 0;border:1px dashed #94a3b852;border-radius:7px;width:100%;margin-top:8px;padding:6px 8px;font-family:inherit;font-size:11px}.boss-approvals-toggle:hover{color:#cbd5e1;background:#94a3b814}.boss-approvals-history{flex-direction:column;gap:6px;margin-top:8px;display:flex}.boss-approvals-history h5{color:#94a3b8;text-transform:uppercase;letter-spacing:.5px;margin:4px 0 2px;font-size:10px;font-weight:700}.approval-card.resolved{opacity:.7;background:#0f172a99;border-color:#94a3b833}.approval-resolved{border-radius:999px;margin-left:auto;padding:2px 7px;font-size:10px;font-weight:700}.approval-resolved.approved{color:#4ade80;background:#22c55e2e}.approval-resolved.rejected{color:#fca5a5;background:#ef44442e}.boss-todo:has(.boss-pill){width:auto}.boss-approvals{background:#0b1220f5;border:1px solid #ef44446b;border-radius:14px;margin-bottom:8px;padding:10px 12px;box-shadow:0 10px 28px #0000008c,0 0 0 1px #ef44442e}.boss-approvals-head{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.boss-approvals-head strong{color:#fecaca;letter-spacing:.2px;font-size:13px;font-weight:700}.boss-approvals-count{color:#fca5a5;background:#ef44442e;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:600}.boss-approvals-body{flex-direction:column;gap:8px;max-height:50vh;display:flex;overflow-y:auto}.approval-card{background:#0f172aeb;border:1px solid #f8717147;border-radius:10px;flex-direction:column;gap:6px;padding:9px 10px;display:flex}.approval-head{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.approval-gate{letter-spacing:.3px;border:1px solid;border-radius:999px;padding:2px 7px;font-size:10px;font-weight:700}.approval-meta{color:#94a3b8;text-align:right;flex:1;font-size:10px}.approval-summary{color:#e2e8f0;word-break:break-word;margin:0;font-size:12px;font-weight:600;line-height:1.4}.approval-context{color:#94a3b8;word-break:break-word;white-space:pre-wrap;background:#00000040;border-radius:6px;max-height:80px;margin:0;padding:6px 8px;font-size:11px;line-height:1.4;overflow:hidden}.approval-actions{justify-content:flex-end;gap:6px;margin-top:2px;display:flex}.approval-actions button{cursor:pointer;border:0;border-radius:7px;padding:5px 12px;font-family:inherit;font-size:11px;font-weight:700}.approval-actions button:disabled{opacity:.5;cursor:wait}.approval-approve{color:#052e15;background:linear-gradient(135deg,#22c55e,#16a34a)}.approval-approve:hover:not(:disabled){filter:brightness(1.1)}.approval-reject{color:#fca5a5;background:#f8717129;border:1px solid #f8717152!important}.approval-reject:hover:not(:disabled){background:#f8717142}.boss-approval-dot{color:#fff;background:#ef4444;border-radius:999px;justify-content:center;align-items:center;min-width:18px;height:18px;margin-right:2px;padding:0 5px;font-size:10px;font-weight:800;animation:1.2s ease-in-out infinite pulse;display:inline-flex;box-shadow:0 0 0 2px #ef444452}.boss-pill{color:#1f2937;cursor:pointer;background:linear-gradient(135deg,#f59e0b,#f97316);border:0;border-radius:999px;align-items:center;gap:6px;padding:7px 14px;font-family:inherit;font-size:12px;font-weight:700;display:flex;box-shadow:0 6px 18px #0006}.boss-pulse{background:#fff;border-radius:50%;width:8px;height:8px}.boss-pulse.active{animation:1.2s ease-in-out infinite pulse}.boss-panel{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0b1220f5;border:1px solid #f59e0b52;border-radius:14px;flex-direction:column;gap:10px;max-height:calc(100vh - 200px);padding:12px 12px 8px;display:flex;box-shadow:0 14px 40px #00000080}.boss-head{justify-content:space-between;align-items:center;display:flex}.boss-head strong{color:#fde68a;letter-spacing:.04em;font-size:13px}.boss-collapse{color:#cbd5e1;cursor:pointer;background:#94a3b81f;border:1px solid #94a3b84d;border-radius:6px;width:22px;height:22px;padding:0;font-family:inherit}.boss-form{grid-template-columns:1fr auto auto;gap:5px;display:grid}.boss-form input{color:#f8fafc;background:#94a3b814;border:1px solid #f59e0b47;border-radius:6px;min-width:0;padding:6px 9px;font-family:inherit;font-size:12px}.boss-form input:focus{border-color:#f59e0bb3;outline:none}.boss-form select{color:#cbd5e1;cursor:pointer;background:#94a3b814;border:1px solid #94a3b847;border-radius:6px;padding:6px;font-family:inherit;font-size:11px}.boss-form button{color:#1f2937;cursor:pointer;background:linear-gradient(135deg,#f59e0b,#f97316);border:0;border-radius:6px;width:28px;height:28px;font-family:inherit;font-size:16px;font-weight:800;line-height:1}.boss-body{gap:10px;display:grid;overflow-y:auto}.boss-section h4{color:#94a3b8;letter-spacing:.06em;text-transform:uppercase;margin:0 0 5px;font-size:10px}.boss-empty{color:#64748b;margin:6px 0;font-size:11px}.boss-card{background:#94a3b814;border:1px solid #94a3b829;border-radius:8px;grid-template-columns:auto 1fr auto;align-items:center;gap:6px;margin-bottom:5px;padding:7px 8px;font-size:12px;display:grid}.boss-card.pending{background:#f59e0b0f;border-color:#f59e0b61}.boss-card.dispatched{background:#22c55e14;border-color:#22c55e66;animation:1.4s ease-in-out infinite glow}.boss-card.queued{background:#60a5fa0a;border-color:#60a5fa52}.boss-card.done{opacity:.6}.boss-label{letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;border-radius:999px;padding:2px 6px;font-size:9px;font-weight:700}.boss-text{color:#e2e8f0;word-break:break-word;margin:0;line-height:1.4}.boss-actions{gap:3px;display:flex}.boss-actions button{color:#bbf7d0;cursor:pointer;background:#22c55e29;border:1px solid #22c55e66;border-radius:6px;width:24px;height:24px;padding:0;font-family:inherit;font-size:13px;font-weight:700;line-height:1}.boss-actions button.boss-del{color:#fecaca;background:#ef444424;border-color:#ef44445c;font-size:14px}.boss-status{color:#cbd5e1;white-space:nowrap;background:#94a3b829;border-radius:999px;padding:2px 7px;font-size:9px}.boss-status.active{color:#bbf7d0;background:#22c55e38}@keyframes pulse{0%,to{box-shadow:0 0 #ffffffb3}50%{box-shadow:0 0 0 7px #fff0}}@keyframes glow{0%,to{box-shadow:0 0 #22c55e4d}50%{box-shadow:0 0 0 4px #22c55e00}}.tasks{z-index:30;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;max-width:min(360px,100vw - 20px);display:flex;position:absolute;top:10px;right:10px}.tasks[data-empty="1"]{display:none}.tasks-pill,.tasks-panel{pointer-events:auto}.tasks-pill{color:#fde68a;cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0f172aeb;border:1px solid #f59e0b80;border-radius:999px;align-items:center;gap:8px;padding:7px 13px;font-family:inherit;font-size:12px;font-weight:700;display:inline-flex;box-shadow:0 6px 18px #00000073}.tasks-pulse{background:#f59e0b;border-radius:50%;width:8px;height:8px;animation:1.2s ease-in-out infinite pulse-orange}@keyframes pulse-orange{0%,to{box-shadow:0 0 #f59e0b99}50%{box-shadow:0 0 0 5px #f59e0b00}}.tasks-panel{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0b1220f0;border:1px solid #f59e0b66;border-radius:12px;width:min(340px,100vw - 20px);overflow:hidden;box-shadow:0 14px 36px #0000008c}.tasks-head{color:#fde68a;background:linear-gradient(135deg,#f59e0b2e,#f59e0b0f);border-bottom:1px solid #f59e0b4d;align-items:center;gap:8px;padding:9px 12px;font-size:12px;display:flex}.tasks-head strong{flex:auto;font-size:12px;font-weight:700}.tasks-collapse{color:#cbd5e1;cursor:pointer;background:#94a3b829;border:1px solid #94a3b84d;border-radius:6px;width:22px;height:22px;padding:0;font-family:inherit;font-size:14px;line-height:1}.tasks-list{flex-direction:column;max-height:min(60vh,460px);display:flex;overflow-y:auto}.task-row{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #94a3b81f;gap:4px;padding:9px 12px;font-family:inherit;display:grid}.task-row:last-child{border-bottom:0}.task-row:hover{background:#60a5fa14}.task-row.you{background:#60a5fa0f}.task-row-head{align-items:center;gap:6px;font-size:12px;display:flex}.task-row-pulse{background:#f59e0b;border-radius:50%;width:6px;height:6px;animation:1.2s ease-in-out infinite pulse-orange}.task-row-agent{color:#93c5fd;flex-shrink:0;font-weight:700}.task-row-msg{color:#cbd5e1;white-space:nowrap;text-overflow:ellipsis;flex:auto;overflow:hidden}.task-row-elapsed{color:#94a3b8;flex-shrink:0;font-size:10.5px}.task-row-tool{color:#94a3b8;padding-left:12px;font-size:11px}.live-badge{z-index:220;color:#cbd5e1;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0f172af0;border:1px solid #94a3b84d;border-radius:999px;padding:5px 10px;font-family:ui-monospace,SFMono-Regular,monospace;font-size:11px;position:fixed;top:12px;right:12px}.live-badge[hidden]{display:none}.live-badge[data-kind=building],.live-badge[data-kind=reloading]{color:#dbeafe;background:#60a5fa38;border-color:#60a5fa80}.live-badge[data-kind=ok]{color:#bbf7d0;background:#22c55e38;border-color:#22c55e80}.live-badge[data-kind=error]{color:#fecaca;background:#ef444438;border-color:#ef444480}.agent-modal{z-index:100;position:fixed;inset:0}.agent-modal[hidden]{display:none}.modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#020617b8;position:absolute;inset:0}.modal-card{background:linear-gradient(#0e1626 0%,#0a1018 100%);border:1px solid #60a5fa2e;border-radius:20px;grid-template-rows:auto 1fr auto;width:min(820px,94vw);height:min(820px,92vh);animation:.2s cubic-bezier(.2,.7,.2,1) modal-in;display:grid;position:absolute;top:50%;left:50%;overflow:hidden;transform:translate(-50%,-50%);box-shadow:0 30px 80px #000000b3}@keyframes modal-in{0%{opacity:0;transform:translate(-50%,-48%)scale(.98)}to{opacity:1;transform:translate(-50%,-50%)scale(1)}}.modal-head{background:#0f172a99;border-bottom:1px solid #94a3b829;justify-content:space-between;align-items:center;padding:14px 18px;display:flex}.modal-head-main{align-items:center;gap:8px;display:flex}.modal-head-main strong{color:#f8fafc;font-size:15px}.modal-sub{color:#94a3b8;font-size:11px}.modal-actions{align-items:center;gap:6px;display:flex}.session-pill{color:#bbf7d0;letter-spacing:.04em;background:#22c55e29;border:1px solid #22c55e66;border-radius:999px;padding:3px 8px;font-size:10px}.session-pill.new{color:#cbd5e1;background:#94a3b824;border-color:#94a3b852}.modal-actions button{color:#cbd5e1;cursor:pointer;background:#94a3b81f;border:1px solid #94a3b84d;border-radius:6px;padding:5px 10px;font-family:inherit;font-size:11px}.busy-pill{color:#fde68a;background:#f59e0b24;border:1px solid #f59e0b66;border-radius:999px;align-items:center;gap:4px;margin-left:6px;padding:3px 8px;font-size:10.5px;display:inline-flex}.busy-pill i{background:#fde68a;border-radius:50%;width:4px;height:4px;animation:1.1s ease-in-out infinite bounce;display:inline-block}.busy-pill i:nth-child(2){animation-delay:.15s}.busy-pill i:nth-child(3){animation-delay:.3s}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-3px)}}.modal-body{flex-direction:column;gap:12px;padding:16px 18px;display:flex;overflow-y:auto}.empty-hint{text-align:center;color:#64748b;max-width:320px;margin:auto;font-size:13px;line-height:1.6}.msg{gap:4px;max-width:88%;display:grid}.msg.mine{margin-left:auto}.msg-from{color:#94a3b8;letter-spacing:.04em;font-size:10px;font-weight:700}.msg.mine .msg-from{text-align:right;color:#93c5fd}.msg-body{color:#e2e8f0;word-break:break-word;background:#94a3b814;border:1px solid #94a3b81a;border-radius:16px 16px 16px 4px;padding:12px 16px;font-size:14px;line-height:1.65}.msg.mine .msg-body{color:#fff;background:linear-gradient(135deg,#2563eb,#1d4ed8);border:0;border-radius:16px 16px 4px}.msg.system .msg-body{color:#fde68a;background:#f59e0b24;border:1px solid #f59e0b4d}.msg-text{white-space:pre-wrap}.status-line{color:#94a3b8;align-items:center;gap:8px;margin-bottom:8px;font-size:11px;display:flex}.status-dot{background:#64748b;border-radius:50%;width:8px;height:8px}.status-dot.thinking,.status-dot.pending{background:#60a5fa;animation:1.2s ease-in-out infinite pulse-blue}.status-dot.tool{background:#f59e0b;animation:1s ease-in-out infinite pulse-orange}.status-dot.typing{background:#34d399;animation:1.2s ease-in-out infinite pulse-green}@keyframes pulse-blue{0%,to{box-shadow:0 0 #60a5fa80}50%{box-shadow:0 0 0 6px #60a5fa00}}@keyframes pulse-green{0%,to{box-shadow:0 0 #34d39980}50%{box-shadow:0 0 0 6px #34d39900}}.status-label{color:#cbd5e1;font-weight:600}.status-dots{gap:3px;display:inline-flex}.status-dots i{background:#94a3b8;border-radius:50%;width:4px;height:4px;animation:1.1s ease-in-out infinite bounce;display:inline-block}.status-dots i:nth-child(2){animation-delay:.15s}.status-dots i:nth-child(3){animation-delay:.3s}.agent-feed{flex-direction:column;gap:8px;display:flex;position:relative}.agent-feed:before{content:"";pointer-events:none;background:linear-gradient(#94a3b833 0%,#94a3b80d 100%);width:1px;position:absolute;top:12px;bottom:12px;left:5px}.feed-item{grid-template-columns:11px 1fr;align-items:flex-start;gap:10px;display:grid}.feed-bullet{z-index:1;background:#475569;border-radius:50%;justify-self:center;width:7px;height:7px;margin-top:.55em;position:relative}.feed-tool.active .feed-bullet{background:#f59e0b;animation:1.2s ease-in-out infinite pulse-orange}.feed-tool-row{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;font-size:12.5px;line-height:1.5;display:flex}.feed-tool-icon{flex-shrink:0;font-size:13px;line-height:1}.feed-tool-name{color:#f8fafc;letter-spacing:.01em;flex-shrink:0;font-weight:700}.feed-tool-detail{color:#cbd5e1;text-overflow:ellipsis;white-space:nowrap;background:#60a5fa24;border-radius:4px;flex:0 auto;min-width:0;padding:1px 7px;font-family:ui-monospace,SFMono-Regular,monospace;font-size:12px;overflow:hidden}.feed-tool-spin{border:1.5px solid #f59e0b4d;border-top-color:#f59e0b;border-radius:50%;flex-shrink:0;width:12px;height:12px;animation:.8s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.feed-text-body{color:#e2e8f0;white-space:pre-wrap;word-break:break-word;font-size:14px;line-height:1.65}.feed-text-content{white-space:pre-wrap;word-break:break-word}.feed-text-body.fallback{color:#e2e8f0;font-size:14px}.feed-cursor{vertical-align:text-bottom;background:linear-gradient(#0000 10%,#60a5fa 30% 70%,#0000 90%);border-radius:2px;width:8px;height:1em;margin-left:3px;animation:.9s ease-in-out infinite cursor-blink;display:inline-block;box-shadow:0 0 8px #60a5fa99}@keyframes cursor-blink{0%,to{opacity:1}50%{opacity:.2}}.feed-empty{color:#64748b;padding:6px 0;font-style:italic}.marker-chips{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.marker-chip{cursor:help;border-radius:999px;padding:3px 9px;font-size:10.5px;font-weight:600}.marker-chip.brain{color:#ddd6fe;background:#a855f729;border:1px solid #a855f766}.marker-chip.company{color:#bbf7d0;background:#22c55e24;border:1px solid #22c55e66}.modal-form{background:#0f172a80;border-top:1px solid #94a3b829;grid-template-columns:1fr auto;gap:8px;padding:12px 14px;display:grid}.modal-form textarea{color:#f8fafc;resize:none;background:#94a3b814;border:1px solid #60a5fa52;border-radius:10px;min-height:56px;padding:10px 12px;font-family:inherit;font-size:13.5px;line-height:1.5}.modal-form textarea:focus{background:#60a5fa14;border-color:#60a5fab3;outline:none}.modal-form button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2563eb,#1d4ed8);border:0;border-radius:10px;align-self:end;padding:10px 18px;font-family:inherit;font-size:13px;font-weight:700}.modal-form button:disabled{opacity:.5;cursor:not-allowed}@media (width<=640px){.modal-card{border:0;border-radius:0;width:100vw;height:100vh;inset:0;transform:none}.msg{max-width:92%}.feed-tool-detail{flex-basis:100%;margin-left:22px}.boss-modal-overlay{padding:0}.boss-modal{border:0;border-radius:0;width:100vw;max-width:100vw;min-height:100vh;max-height:100vh}.boss-modal-tab{padding:10px 12px;font-size:12px}.boss-compose-textarea{min-height:160px;font-size:16px}.boss-compose-submit{width:100%;margin-left:0;padding:12px}.boss-compose-row{flex-direction:column;align-items:stretch}.boss-compose-select{flex:auto}.approval-actions button{padding:6px 14px;font-size:12px}}.pin-gate{background:linear-gradient(#0a0e1a 0%,#1a1f2e 100%);justify-content:center;align-items:center;min-height:100vh;font-family:ui-monospace,SF Mono,Menlo,monospace;display:flex}.pin-card{text-align:center;background:#111827;border:1px solid #1f2937;border-radius:14px;width:360px;padding:36px 40px;box-shadow:0 24px 60px #00000080}.pin-card h1{letter-spacing:.05em;color:#e2e8f0;margin:0 0 8px;font-size:22px;font-weight:700}.pin-sub{color:#94a3b8;margin:0 0 28px;font-size:14px}.pin-card form{flex-direction:column;gap:10px;display:flex}.pin-card input[type=password]{color:#e2e8f0;text-align:center;letter-spacing:.4em;background:#0f172a;border:1px solid #334155;border-radius:8px;outline:none;padding:12px 14px;font-family:inherit;font-size:18px}.pin-card input[type=password]:focus{border-color:#60a5fa}.pin-card button{color:#fff;cursor:pointer;letter-spacing:.05em;background:#2563eb;border:none;border-radius:8px;padding:12px;font-family:inherit;font-size:14px;font-weight:600}.pin-card button:hover{background:#1d4ed8}.pin-msg{color:#94a3b8;min-height:16px;margin:16px 0 0;font-size:13px}.pin-msg.ok{color:#4ade80}.pin-msg.error{color:#fca5a5}.tasks-head.done{border-top:1px dashed #22c55e4d;margin-top:8px;padding-top:8px}.tasks-check{background:#22c55e;border-radius:50%;width:8px;height:8px;margin-right:8px;display:inline-block}.tasks-empty{color:#64748b;padding:6px 10px;font-size:11px;font-style:italic}.task-row.done{opacity:.92;background:#22c55e14;border:1px solid #22c55e52}.task-row.done:hover{opacity:1;background:#22c55e29}.task-row-check{color:#4ade80;margin-right:6px;font-weight:800;display:inline-block}.tasks-done-badge{color:#052e16;background:#22c55e;border-radius:999px;margin-left:6px;padding:1px 7px;font-size:10px;font-weight:800;display:inline-block}.secret-toggle{color:#cbd5e1;cursor:pointer;letter-spacing:.02em;background:#94a3b814;border:1px solid #94a3b84d;border-radius:6px;padding:5px 10px;font-family:inherit;font-size:11px;font-weight:600;transition:all .2s}.secret-toggle:hover{color:#e2e8f0;background:#94a3b82e}.secret-toggle.on{color:#fff;background:linear-gradient(135deg,#7c3aed,#db2777);border-color:#db277780;box-shadow:0 4px 14px #7c3aed66}.secret-toggle.on:hover{background:linear-gradient(135deg,#6d28d9,#be185d)}.secret-banner{color:#e9d5ff;text-align:center;letter-spacing:.02em;background:linear-gradient(#7c3aed2e,#7c3aed0f);border:1px dashed #a855f780;border-radius:0;margin:0;padding:8px 14px;font-size:11.5px}.modal-card.secret-on{border:1px solid #a855f766;box-shadow:0 0 0 2px #7c3aed2e,0 24px 60px #00000080}.modal-card.secret-on .modal-form textarea{background:#7c3aed0f;border-color:#a855f766}.modal-card.secret-on .modal-form button[type=submit]{background:linear-gradient(135deg,#7c3aed,#db2777)}.msg.their.agent-shin .msg-from{color:#93c5fd}.msg.their.agent-lee .msg-from{color:#fcd34d}.msg.their.agent-lee .msg-body{background:#fbbf240f;border-left:3px solid #fbbf2473}.msg.their.delegate-msg .msg-body{color:#cbd5e1;background:#a855f70f;border-left:3px solid #a855f773;font-size:13px}.delegate-badge{color:#e9d5ff;letter-spacing:.04em;background:#a855f72e;border-radius:999px;margin-left:6px;padding:1px 6px;font-size:9px;font-weight:700;display:inline-block}.msg.secret .msg-body{background:#7c3aed14;border:1px dashed #a855f766}.boss-board{color:#e2e8f0;pointer-events:auto;background:#0f172ac7;border:1px solid #94a3b82e;border-radius:10px;max-height:calc(100vh - 96px);padding:10px 12px;font-size:11px;overflow-y:auto;box-shadow:0 6px 20px #0006}.bb-head{border-bottom:1px dashed #94a3b82e;align-items:center;gap:8px;margin-bottom:8px;padding-bottom:6px;display:flex}.bb-head strong{color:#f1f5f9;letter-spacing:.02em;font-size:13px}.bb-updated{color:#64748b;margin-left:auto;font-size:9px}.bb-collapse{color:#94a3b8;cursor:pointer;background:0 0;border:1px solid #94a3b84d;border-radius:6px;padding:0 8px;font-size:12px;line-height:18px}.bb-collapse:hover{color:#f1f5f9;border-color:#94a3b899}.boss-board[data-collapsed="1"] .bb-grid,.boss-board[data-collapsed="1"] .bb-allempty{display:none}.bb-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.bb-section{background:#1e293ba6;border:1px solid #47556940;border-radius:7px;min-height:56px;padding:7px 8px}.bb-section.recovery.red{border-color:#ef444473}.bb-section.recovery.yellow{border-color:#f59e0b66}.bb-section.approvals[data-pending]{border-color:#a855f766}.bb-section-head{align-items:center;gap:6px;margin-bottom:5px;display:flex}.bb-section-head strong{color:#cbd5e1;letter-spacing:.03em;font-size:10.5px}.bb-section-count{color:#94a3b8;text-align:center;background:#0f172a99;border-radius:999px;min-width:18px;margin-left:auto;padding:1px 6px;font-size:9.5px}.bb-section-body{flex-direction:column;gap:3px;display:flex}.bb-row{cursor:default;border-radius:5px;align-items:center;gap:6px;padding:3px 5px;font-size:10.5px;display:flex}.bb-row[data-action]{cursor:pointer}.bb-row[data-action]:hover{background:#33415599}.bb-row .bb-row-main{color:#e2e8f0;text-overflow:ellipsis;white-space:nowrap;flex-shrink:0;max-width:40%;font-weight:600;overflow:hidden}.bb-row .bb-row-sub{color:#94a3b8;text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.bb-row .bb-row-time{color:#64748b;flex-shrink:0;font-size:9px}.bb-row .bb-agent-dot{background:#34d399;border-radius:50%;flex-shrink:0;width:7px;height:7px}.bb-row .bb-queue-dot{background:#94a3b8;border-radius:50%;flex-shrink:0;width:7px;height:7px}.bb-row .bb-status{text-align:center;width:14px}.bb-row.unread{background:#3b82f614}.bb-row.unread .bb-row-main:before{content:"● ";color:#60a5fa}.bb-row .bb-gate{border-radius:999px;flex-shrink:0;padding:1px 6px;font-size:9px;font-weight:700}.bb-row .bb-sev{text-align:center;flex-shrink:0;width:14px}.bb-row.recovery-row.sev-red{border-left:2px solid #ef4444;padding-left:3px}.bb-row.recovery-row.sev-yellow{border-left:2px solid #f59e0b;padding-left:3px}.bb-empty{color:#64748b;margin:0;padding:4px 6px;font-size:10px;font-style:italic}.bb-hint{color:#64748b;margin:4px 0 0;font-size:9px}.bb-hint code{color:#cbd5e1;background:#0f172a99;border-radius:3px;padding:1px 4px;font-family:ui-monospace,SFMono-Regular,monospace}.bb-allempty{text-align:center;color:#94a3b8;background:#1e293b66;border:1px dashed #94a3b833;border-radius:6px;margin:8px 4px 0;padding:8px;font-size:10.5px}@media (width<=700px){.bb-grid{grid-template-columns:minmax(0,1fr)}.boss-board{padding:8px 10px;font-size:10px}}.msg-meta{color:#94a3b8;background:#0f172a52;border:1px dashed #94a3b82e;border-radius:6px;flex-wrap:wrap;align-items:center;gap:8px;margin-top:4px;padding:3px 6px;font-size:10px;display:flex}.msg-meta .meta-status{color:#cbd5e1;font-weight:600}.msg-meta .meta-count{color:#cbd5e1}.msg-meta .meta-hash{opacity:.85;font-family:ui-monospace,SFMono-Regular,monospace}.msg-meta .artifact-link{color:#93c5fd;margin-left:auto;font-weight:600;text-decoration:none}.msg-meta .artifact-link:hover{text-decoration:underline}@media (width<=480px){.msg-meta{gap:6px;padding:2px 5px;font-size:9px}.msg-meta .artifact-link{margin-left:0}}.pin-gate.reauth{z-index:9999;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#000000b3;position:fixed;inset:0}.toast-container{z-index:100;pointer-events:none;flex-direction:column-reverse;gap:8px;display:flex;position:fixed;bottom:80px;right:16px}.toast{color:#e2e8f0;pointer-events:auto;background:#0f172af2;border:1px solid #94a3b84d;border-radius:8px;max-width:360px;padding:10px 14px;font-size:13px;animation:.3s toastIn;box-shadow:0 8px 24px #00000080}.toast.toast-error{color:#fecaca;background:#7f1d1deb;border-color:#ef444480}.toast.toast-warn{color:#fde68a;background:#78350feb;border-color:#f59e0b80}.toast.toast-ok{color:#bbf7d0;background:#14532deb;border-color:#22c55e80}.toast.out{animation:.3s forwards toastOut}@keyframes toastIn{0%{opacity:0;transform:translate(100%)}to{opacity:1;transform:translate(0)}}@keyframes toastOut{to{opacity:0;transform:translate(100%)}}.cost-badge{z-index:30;color:#cbd5e1;background:#0f172ad9;border:1px solid #94a3b840;border-radius:999px;gap:8px;padding:4px 10px;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:10px;display:flex;position:fixed;top:50px;right:14px}.cost-badge[hidden]{display:none}.cost-today{color:#fde68a;font-weight:700}.cost-total{color:#94a3b8}.agent-status-host{z-index:18;pointer-events:auto;max-width:min(360px,100vw - 28px);position:absolute;top:64px;left:14px}.agent-status-host:empty{display:none}.agent-status-board{background:#0f172af0;border:1px solid #94a3b838;border-radius:14px;flex-direction:column;gap:6px;padding:8px 10px;display:flex;box-shadow:0 18px 40px -22px #0000008c}.asb-head{color:#cbd5e1;border-bottom:1px solid #94a3b829;align-items:center;gap:8px;padding:2px 4px 6px;display:flex}.asb-head strong{letter-spacing:.04em;font-size:12px}.asb-head-icon{background:#34d399;border-radius:50%;width:6px;height:6px;box-shadow:0 0 8px #34d399b3}.asb-list{flex-direction:column;gap:4px;display:flex}.asb-row{cursor:pointer;text-align:left;font:inherit;color:#e2e8f0;background:#1e293bb8;border:1px solid #94a3b81f;border-radius:9px;grid-template-columns:auto auto auto 1fr;align-items:center;gap:8px;padding:6px 8px;transition:background .12s,border-color .12s;display:grid}.asb-row:hover{background:#334155d9;border-color:#60a5fa66}.asb-row.active{background:#1e3a8a73;border-color:#60a5fab3}.asb-dot{border-radius:50%;flex-shrink:0;width:12px;height:12px;box-shadow:0 0 0 2px #0f172ad9}.asb-name{white-space:nowrap;font-size:12px;font-weight:700}.asb-chip{white-space:nowrap;letter-spacing:.02em;border:1px solid;border-radius:999px;padding:1px 8px;font-size:10px;font-weight:700}.asb-ticket{color:#cbd5e1;white-space:nowrap;text-overflow:ellipsis;background:#02061773;border:1px solid #94a3b838;border-radius:6px;min-width:0;padding:2px 8px;font-size:11px;overflow:hidden}.asb-ticket.idle{color:#64748b;background:0 0;border-color:#0000}.asb-ticket:not(.idle):hover{color:#e0e7ff;background:#60a5fa2e;border-color:#60a5fa8c}@media (width<=480px){.agent-status-host{max-width:calc(100vw - 20px);top:56px;left:10px}.agent-status-board{padding:6px 8px}.asb-row{grid-template-columns:auto auto auto 1fr;gap:6px;padding:5px 7px}.asb-name{font-size:11.5px}.asb-chip{padding:1px 6px;font-size:9.5px}.asb-ticket{padding:1px 6px;font-size:10.5px}}.situation-panel{pointer-events:auto;background:#0f172af0;border:1px solid #94a3b838;border-radius:14px;flex-direction:column;gap:8px;width:min(360px,100vw - 28px);max-height:calc(100vh - 220px);padding:10px;display:flex;overflow-y:auto;box-shadow:0 24px 60px -28px #0000008c}.situation-panel .tasks-pulse.idle{box-shadow:none;background:#475569}.situation-await{color:#fecaca;background:#ef44442e;border:1px solid #ef444473;border-radius:999px;margin-left:auto;margin-right:8px;padding:1px 8px;font-size:10px;font-weight:700}.situation-list{flex-direction:column;gap:8px;display:flex}.ticket-card{background:#1e293bdb;border:1px solid #94a3b82e;border-radius:12px;flex-direction:column;gap:8px;padding:10px 12px;transition:border-color .15s,transform .15s;display:flex}.ticket-card:hover{border-color:#60a5fa8c}.ticket-card.dim{opacity:.55}.ticket-card.hot{border-color:#ef44448c;box-shadow:inset 0 0 0 1px #ef444440}.ticket-card-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.ticket-status{letter-spacing:.02em;white-space:nowrap;border:1px solid;border-radius:999px;padding:2px 8px;font-size:10px;font-weight:700}.ticket-elapsed{color:#94a3b8;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:10px}.ticket-title{color:#e2e8f0;word-break:keep-all;overflow-wrap:anywhere;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0;font-size:13px;line-height:1.45;display:-webkit-box;overflow:hidden}.ticket-card-foot{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.ticket-chain{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.ticket-dot{color:#0f172a;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:22px;height:22px;font-size:11px;font-weight:700;display:inline-flex}.ticket-arrow{color:#64748b;font-size:11px}.ticket-card-actions{gap:6px;display:flex}.ticket-more,.ticket-close{color:#e2e8f0;cursor:pointer;background:#0f172a99;border:1px solid #94a3b84d;border-radius:8px;padding:4px 10px;font-size:11px;font-weight:600;transition:background .12s}.ticket-more:hover{background:#60a5fa26;border-color:#60a5fa8c}.ticket-close{color:#bbf7d0;background:#22c55e2e;border-color:#22c55e80}.ticket-close:hover{background:#22c55e4d}.ticket-modal-host:empty{display:none}.ticket-modal-overlay{z-index:60;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#02061799;justify-content:center;align-items:center;padding:14px;display:flex;position:fixed;inset:0}.ticket-modal{background:linear-gradient(#0f172af7,#020617f7);border:1px solid #94a3b847;border-radius:16px;flex-direction:column;width:min(640px,100%);max-height:calc(100vh - 28px);display:flex;overflow:hidden;box-shadow:0 30px 80px -25px #000000b3}.ticket-modal-head{border-bottom:1px solid #94a3b82e;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.ticket-modal-head-main{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.ticket-modal-label{color:#cbd5e1;background:#94a3b826;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:600}.ticket-modal-elapsed{color:#94a3b8;font-size:11px}.ticket-modal-x{color:#94a3b8;cursor:pointer;background:0 0;border:none;padding:0 4px;font-size:22px}.ticket-modal-x:hover{color:#e2e8f0}.ticket-modal-title{color:#f1f5f9;word-break:keep-all;overflow-wrap:anywhere;margin:0;padding:14px 18px 6px;font-size:15px;font-weight:700;line-height:1.55}.ticket-modal-note{color:#fef3c7;background:#facc151f;border:1px solid #facc1573;border-radius:10px;margin:6px 16px 4px;padding:10px 12px;font-size:12px}.ticket-modal-note strong{color:#facc15;margin-bottom:4px;display:block}.ticket-modal-note p{margin:0;line-height:1.5}.ticket-modal-chain{flex-direction:column;flex:1;gap:10px;padding:8px 16px 12px;display:flex;overflow-y:auto}.ticket-modal-foot{border-top:1px solid #94a3b82e;flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:10px 16px;display:flex}.ticket-modal-close-btn,.ticket-modal-rework-btn{cursor:pointer;letter-spacing:.01em;border:1px solid;border-radius:8px;padding:7px 14px;font-size:12px;font-weight:700}.ticket-modal-close-btn{color:#bbf7d0;background:#22c55e33;border-color:#22c55e80}.ticket-modal-close-btn:hover{background:#22c55e52}.ticket-modal-close-btn[disabled]{opacity:.5;cursor:wait}.ticket-modal-rework-btn{color:#fed7aa;background:#fb923c2e;border-color:#fb923c80}.ticket-modal-rework-btn:hover{background:#fb923c4d}.ticket-modal-rework-btn[disabled]{opacity:.5;cursor:wait}.ticket-modal-closed-tag{color:#94a3b8;background:#94a3b81f;border:1px solid #94a3b84d;border-radius:999px;padding:4px 10px;font-size:11px}.chain-step{background:#1e293bb3;border:1px solid #94a3b82e;border-radius:10px;flex-direction:column;gap:6px;padding:10px 12px;display:flex}.chain-step.running{border-color:#60a5fa73}.chain-step.error{border-color:#ef444480}.chain-step.done{opacity:.92}.chain-step-head{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.chain-step-kind{border:1px solid;border-radius:999px;padding:2px 8px;font-size:10px;font-weight:700}.chain-from-to{align-items:center;gap:4px;display:inline-flex}.chain-step-time{color:#94a3b8;font-size:10px}.chain-step-status{border-radius:999px;margin-left:auto;padding:1px 7px;font-size:10px;font-weight:700}.chain-step-status.running{color:#93c5fd;background:#60a5fa38}.chain-step-status.done{color:#86efac;background:#22c55e2e}.chain-step-status.error{color:#fca5a5;background:#ef44442e}.chain-expand{color:#cbd5e1;cursor:pointer;background:0 0;border:1px solid #94a3b84d;border-radius:6px;margin-left:4px;padding:2px 8px;font-size:10px}.chain-expand:hover{background:#60a5fa2e}.chain-step-prompt,.chain-step-response{color:#cbd5e1;word-break:keep-all;overflow-wrap:anywhere;margin:0;font-size:12px;line-height:1.5}.chain-step-response{color:#e2e8f0}.chain-step-detail{background:#0206178c;border:1px solid #94a3b82e;border-radius:8px;margin-top:4px;padding:8px 10px}.chain-step-detail h6{color:#94a3b8;letter-spacing:.04em;margin:6px 0 4px;font-size:10px;font-weight:700}.chain-step-detail h6:first-child{margin-top:0}.chain-pre{white-space:pre-wrap;word-break:break-word;color:#e2e8f0;max-height:240px;margin:0;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:11px;line-height:1.55;overflow-y:auto}@media (width<=480px){.situation-panel{width:calc(100vw - 28px);max-height:50vh;padding:8px}.ticket-card{padding:9px 10px}.ticket-title{font-size:12.5px}.ticket-modal-title{padding:12px 14px 4px;font-size:14px}.ticket-modal-head,.ticket-modal-foot{padding:10px 12px}.ticket-modal-chain{padding:8px 12px 10px}.chain-pre{max-height:200px;font-size:10.5px}}.boss-report-dot{color:#0f172a;background:#60a5faf2;border-radius:999px;margin-right:6px;padding:2px 8px;font-size:10px;font-weight:800;box-shadow:0 0 0 2px #0f172ad9}.toast-clickable{cursor:pointer;text-align:left;color:#0f172a;background:#3b82f6f2;border:none;border-radius:10px;padding:10px 14px;font-family:inherit;font-weight:700;transition:transform .12s;box-shadow:0 12px 28px -10px #00000080}.toast-clickable:hover{transform:translateY(-1px)}.report-card.unread{background:#3b82f614;border-left:3px solid #3b82f6}.report-unread-tag{color:#fff;letter-spacing:.08em;background:#3b82f6;border-radius:999px;margin-right:4px;padding:2px 7px;font-size:9px;font-weight:800}.reports-summary{align-items:baseline;gap:8px;margin-bottom:6px;padding:4px 2px;font-size:12px;display:flex}.reports-unread{color:#93c5fd;font-weight:800}.reports-allread{color:#94a3b8}.reports-total{color:#64748b;font-size:11px}.desk-create-form{flex-direction:column;gap:10px;padding:14px 18px 16px;display:flex;overflow-y:auto}.desk-field{flex-direction:column;gap:4px;display:flex}.desk-field span{color:#94a3b8;letter-spacing:.02em;font-size:11px;font-weight:600}.desk-field input,.desk-field select{color:#e2e8f0;background:#020617a6;border:1px solid #94a3b840;border-radius:8px;outline:none;padding:8px 10px;font-family:inherit;font-size:13px;transition:border-color .12s}.desk-field input:focus,.desk-field select:focus{border-color:#60a5fab3}.desk-field-row{grid-template-columns:1fr 1fr 1fr;gap:8px;display:grid}.desk-modal-error{color:#fecaca;background:#ef444426;border:1px solid #ef444480;border-radius:8px;margin:0;padding:8px 10px;font-size:12px;line-height:1.45}.desk-modal-hint{color:#94a3b8;margin:0;font-size:11px;line-height:1.5}.desk-modal-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:4px;display:flex}.desk-delete-btn{color:#fecaca;cursor:pointer;background:#ef44442e;border:1px solid #ef44448c;border-radius:8px;margin-right:auto;padding:7px 14px;font-size:12px;font-weight:700}.desk-delete-btn:hover{background:#ef444447}.desk-delete-btn[disabled]{opacity:.5;cursor:wait}@media (width<=480px){.desk-create-form{gap:9px;padding:12px 14px 14px}.desk-field-row{grid-template-columns:1fr 1fr 1fr;gap:6px}.desk-field input,.desk-field select{padding:7px 9px;font-size:12px}}.request-panel{gap:8px}.situation-filters{flex-wrap:wrap;gap:6px;padding:4px 0 6px;display:flex}.situation-filter-btn{color:#94a3b8;cursor:pointer;background:#0f172a99;border:1px solid #94a3b840;border-radius:999px;padding:3px 10px;font-size:11px;transition:all .12s}.situation-filter-btn:hover{color:#e2e8f0;border-color:#60a5fa73}.situation-filter-btn.active{color:#93c5fd;background:#3b82f62e;border-color:#60a5fa99}.req-source{letter-spacing:.02em;text-transform:uppercase;border:1px solid #0000;border-radius:4px;padding:2px 6px;font-size:10px}.req-source-db{color:#86efac;background:#22c55e1f;border-color:#22c55e4d}.req-source-json{color:#cbd5e1;background:#94a3b81f;border-color:#94a3b84d}.req-mirror-warn{color:#fca5a5;background:#ef44441a;border:1px solid #ef44444d;border-radius:4px;padding:2px 6px;font-size:10px}.req-warnings{flex-direction:column;gap:4px;margin:4px 0;display:flex}.req-warning{color:#fcd34d;background:#fbbf241a;border-left:2px solid #fbbf24;border-radius:4px;padding:4px 8px;font-size:11px}.request-card .req-card-tags{flex-wrap:wrap;gap:4px;margin:4px 0 6px;display:flex}.req-tag{color:#cbd5e1;background:#94a3b81f;border-radius:4px;padding:2px 6px;font-size:10px}.req-tag-approval{color:#fca5a5;background:#ef444426}.req-tag-report{color:#86efac;background:#22c55e1f}.request-modal{width:min(680px,96vw);max-height:92vh}.req-tabs{-webkit-overflow-scrolling:touch;scrollbar-width:thin;border-bottom:1px solid #94a3b82e;gap:2px;padding:0 4px;display:flex;overflow-x:auto}.req-tab{color:#94a3b8;cursor:pointer;white-space:nowrap;background:0 0;border:none;border-bottom:2px solid #0000;flex:none;align-items:center;gap:6px;padding:10px 12px;font-size:13px;display:flex}.req-tab:hover{color:#e2e8f0}.req-tab.active{color:#fde68a;border-bottom-color:#f59e0b}.req-tab-badge{color:#bfdbfe;text-align:center;background:#60a5fa33;border-radius:8px;min-width:16px;padding:1px 6px;font-size:10px}.req-modal-body{flex:1;padding:12px 16px 16px;overflow-y:auto}.req-tab-body{color:#e2e8f0}.req-tab-body h4{color:#cbd5e1;margin:12px 0 6px;font-size:13px;font-weight:600}.req-tab-body h4:first-child{margin-top:0}.req-tab-body p{margin:6px 0;line-height:1.5}.req-pre{color:#cbd5e1;white-space:pre-wrap;word-break:break-word;background:#0f172ab3;border:1px solid #94a3b82e;border-radius:6px;max-height:240px;padding:10px 12px;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:12.5px;line-height:1.5;overflow-y:auto}.req-empty{color:#64748b;text-align:center;padding:24px 0;font-size:13px}.req-actions-row{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.req-btn{color:#e2e8f0;cursor:pointer;background:#1e293bcc;border:1px solid #94a3b84d;border-radius:6px;padding:8px 14px;font-size:12.5px;font-weight:500}.req-btn:hover:not(:disabled){color:#93c5fd;border-color:#60a5fa80}.req-btn:disabled{opacity:.5;cursor:not-allowed}.req-btn-close{color:#86efac;background:#22c55e1f;border-color:#22c55e66}.req-btn-primary{color:#bfdbfe;background:#3b82f629;border-color:#60a5fa66}.req-closed-badge{color:#94a3b8;background:#94a3b81f;border-radius:4px;padding:4px 8px;font-size:11px}.req-events,.req-prompts,.req-approvals,.req-reports{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.req-event{background:#0f172a80;border-left:2px solid #60a5fa66;border-radius:4px;grid-template-columns:auto auto auto 1fr;align-items:start;gap:8px;padding:6px 8px;font-size:12px;display:grid}.req-event-time{color:#94a3b8;min-width:38px}.req-event-type{color:#fbbf24;font-weight:500}.req-event-actor{color:#cbd5e1}.req-event-body{color:#e2e8f0;word-break:break-word}.req-prompt-item,.req-approval,.req-report{background:#0f172a8c;border:1px solid #94a3b82e;border-radius:6px;padding:10px 12px}.req-prompt-head,.req-approval-head,.req-report-head{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;display:flex}.req-prompt-agent,.req-approval-gate{color:#fde68a;font-weight:600}.req-prompt-status{color:#cbd5e1;background:#94a3b81f;border-radius:4px;padding:2px 6px;font-size:10px}.req-prompt-status.status-completed{color:#86efac;background:#22c55e26}.req-prompt-status.status-running{color:#93c5fd;background:#3b82f626}.req-prompt-status.status-failed{color:#fca5a5;background:#ef444426}.req-prompt-time,.req-approval-time,.req-report-time{color:#64748b;margin-left:auto;font-size:11px}.req-prompt-preview,.req-approval-summary,.req-report-meta{color:#cbd5e1;margin:4px 0;font-size:12.5px;line-height:1.5}.req-prompt-tool{color:#94a3b8;margin:4px 0;font-size:11px}.req-prompt-error{color:#fca5a5;margin:4px 0;font-size:12px}.req-approval-context{color:#94a3b8;white-space:pre-wrap;word-break:break-word;background:#0f172a99;border-radius:4px;margin:4px 0;padding:6px 8px;font-size:11.5px}.req-approval-note{color:#fde68a;margin:4px 0;font-size:11.5px}.req-approval.pending{border-left:3px solid #ef4444}.req-approval.approved{border-left:3px solid #22c55e}.req-approval.rejected{border-left:3px solid #94a3b8}.req-report-path{color:#94a3b8;word-break:break-all;margin:4px 0;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:11px}.req-report-path code{background:#0f172a99;border-radius:3px;padding:2px 6px}.req-followup-textarea{color:#e2e8f0;resize:vertical;box-sizing:border-box;background:#0f172ab3;border:1px solid #94a3b84d;border-radius:6px;width:100%;min-height:100px;padding:10px 12px;font-family:inherit;font-size:13px}.req-followup-textarea:focus{border-color:#60a5fa99;outline:none}.req-help{color:#94a3b8;margin:4px 0 8px;font-size:11.5px;line-height:1.4}.ticket-modal-loading{text-align:center;color:#94a3b8;padding:24px}@media (width<=640px){.request-modal{border-radius:0;width:100vw;max-height:100vh}.req-modal-body{padding:10px 12px 14px}.req-tabs{padding:0}.req-tab{padding:8px 10px;font-size:12px}.req-event{grid-template-columns:auto auto 1fr;font-size:11px}.req-event-actor{display:none}.req-pre{max-height:180px;font-size:11.5px}.request-card{padding:10px}.situation-filters{padding:2px 0 4px}.situation-filter-btn{padding:2px 8px;font-size:10.5px}}.capacity-row{flex-wrap:wrap;gap:4px;padding:2px 0 4px;display:flex}.cap-chip{color:#cbd5e1;background:#0f172a99;border:1px solid #94a3b833;border-radius:999px;align-items:center;gap:4px;padding:2px 6px 2px 4px;font-size:10.5px;display:inline-flex}.cap-chip.busy{background:#3b82f614;border-color:#60a5fa66}.cap-chip.full{color:#fca5a5;background:#ef44441a;border-color:#ef444480}.cap-chip .ticket-dot{width:14px;height:14px;font-size:9px}.cap-chip .cap-name{color:inherit}.cap-chip .cap-num{color:#94a3b8;font-variant-numeric:tabular-nums}.cap-chip.busy .cap-num{color:#93c5fd}.cap-chip.full .cap-num{color:#fca5a5;font-weight:600}@media (width<=480px){.cap-chip{padding:2px 5px 2px 3px;font-size:10px}.cap-chip .cap-name{display:none}}.req-resume-row{flex-wrap:wrap;align-items:center;gap:6px;margin:6px 0 0;font-size:11.5px;display:flex}.req-resume-tag{border:1px solid #0000;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:600}.req-resume-tag.pending{color:#cbd5e1;background:#94a3b826;border-color:#94a3b84d}.req-resume-tag.resumed{color:#86efac;background:#22c55e2e;border-color:#22c55e66}.req-resume-tag.continuation{color:#bfdbfe;background:#3b82f62e;border-color:#60a5fa66}.req-resume-tag.fallback{color:#fde68a;background:#fbbf2429;border-color:#fbbf2466}.req-resume-tag.failed{color:#fca5a5;background:#ef44442e;border-color:#ef444473}.req-resume-job{color:#94a3b8;background:#0f172a99;border-radius:3px;padding:1px 5px;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:10.5px}.req-resume-time{color:#64748b;font-size:11px}.req-resume-error{color:#fca5a5;background:#ef444414;border-left:2px solid #ef444466;border-radius:4px;margin:4px 0 0;padding:4px 8px;font-size:11.5px}.req-prompts-artifacts{margin-bottom:12px}.req-prompt-artifact{background:#0f172a8c;border:1px solid #94a3b82e;border-left:3px solid #a855f78c;border-radius:6px;margin-bottom:6px;padding:10px 12px}.req-prompt-kind{color:#ddd6fe;background:#a855f72e;border:1px solid #a855f766;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:600}.req-prompt-flow{color:#cbd5e1;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:11px}.req-prompt-meta{color:#94a3b8;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:10.5px}.req-prompt-title{color:#fde68a;margin:4px 0;font-size:12px;font-weight:500}.req-prompt-expand{color:#bfdbfe;cursor:pointer;background:#1e293bcc;border:1px solid #a855f766;border-radius:4px;margin-left:auto;padding:2px 10px;font-size:11px}.req-prompt-expand:hover:not(:disabled){color:#ddd6fe;background:#a855f72e}.req-prompt-expand:disabled{opacity:.5;cursor:progress}.req-prompt-full{color:#cbd5e1;white-space:pre-wrap;word-break:break-word;background:#0f172ad9;border:1px solid #94a3b82e;border-radius:4px;max-height:360px;margin:8px 0 0;padding:8px 10px;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:11px;line-height:1.5;overflow-y:auto}.req-prompt-full[hidden]{display:none}@media (width<=480px){.req-prompt-flow{display:none}.req-prompt-full{max-height:240px;font-size:10.5px}}
/*$vite$:1*/