:root{--bg:#f5f6f8;--surface:#fff;--border:#e2e5ea;--text:#1c2330;--muted:#687385;--brand:#1f4fd8;--brand-ink:#fff;--sidebar:#141a26;--sidebar-text:#c9d1e0;--ok-bg:#e5f6ec;--ok:#17733d;--warn-bg:#fff4dc;--warn:#8a5a00;--danger-bg:#fde8e8;--danger:#b42318;--info-bg:#e7efff;--info:#1f4fd8;--neutral-bg:#eef0f3;--neutral:#4a5363;--analyst:#b54708;--analyst-bg:#fff1e6;--analyst-fill:#ee8a3c;--developer:#1f4fd8;--developer-bg:#e7efff;--developer-fill:#4b78ee;--reviewer:#17733d;--reviewer-bg:#e5f6ec;--reviewer-fill:#3a9e63;--office-wall:#fbfcfe;--office-floor:#eef1f6;--office-desk:#d9c5a8;--office-desk-leg:#c2ab8a;--office-chair:#cbd2dd;--office-frame:#394459;--office-screen:#1f2a3d;--office-window:#e3ecfb;--radius:10px;color:var(--text);background:var(--bg);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}@media (prefers-color-scheme:dark){:root{--bg:#0f131b;--surface:#171d29;--border:#273042;--text:#e6eaf2;--muted:#93a0b5;--sidebar:#0b0e14;--brand:#5b84ff;--ok-bg:#12301f;--ok:#6fd69a;--warn-bg:#3a2c0b;--warn:#f2c461;--danger-bg:#3d1515;--danger:#ff8a80;--info-bg:#152447;--info:#8fb0ff;--neutral-bg:#242c3b;--neutral:#b4bccb;--analyst:#ffb27a;--analyst-bg:#3a2414;--analyst-fill:#e07f34;--developer:#8fb0ff;--developer-bg:#152447;--developer-fill:#5b84ff;--reviewer:#6fd69a;--reviewer-bg:#12301f;--reviewer-fill:#3a9e63;--office-wall:#1a2130;--office-floor:#141a26;--office-desk:#5c4b39;--office-desk-leg:#4a3c2e;--office-chair:#2f384a;--office-frame:#0b0e14;--office-screen:#0d1420;--office-window:#1b2740}}*{box-sizing:border-box}body{background:var(--bg);margin:0}a{color:var(--brand);text-decoration:none}a:hover{text-decoration:underline}h1{margin:0 0 1rem;font-size:1.5rem}h2{margin:0;font-size:1rem}.shell{min-height:100vh}.topbar{z-index:20;background:var(--sidebar);height:56px;color:var(--sidebar-text);align-items:center;gap:.75rem;padding:0 1rem;display:flex;position:sticky;top:0}.menu-button{color:#fff;background:0 0;border:0;border-radius:8px;place-items:center;width:40px;height:40px;padding:0;display:inline-grid}.menu-button:hover,.menu-button:focus-visible{background:#ffffff1a}.topbar .brand{font-size:1rem}.topbar .brand span{margin-left:.35rem;display:inline}.backdrop{z-index:30;background:#00000073;position:fixed;inset:0}.sidebar{z-index:40;background:var(--sidebar);width:min(280px,85vw);color:var(--sidebar-text);visibility:hidden;flex-direction:column;gap:1.5rem;padding:1rem;transition:transform .2s;display:flex;position:fixed;inset:0 auto 0 0;transform:translate(-100%)}.sidebar.open{visibility:visible;transform:none}.sidebar-header{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.brand{color:#fff;font-size:1.15rem;font-weight:800}.brand span{color:var(--sidebar-text);font-size:.8rem;font-weight:500;display:block}.sidebar nav{flex-direction:column;gap:.25rem;display:flex}.sidebar nav a{color:var(--sidebar-text);border-radius:8px;padding:.65rem .75rem}.sidebar nav a.active,.sidebar nav a:hover{color:#fff;background:#ffffff14;text-decoration:none}.sidebar-footer{border-top:1px solid #ffffff1a;flex-direction:column;gap:.35rem;margin-top:auto;padding-top:1rem;font-size:.9rem;display:flex}.sidebar-footer strong{color:#fff}.sidebar-footer button{color:#fff;background:0 0;border-color:#ffffff40;margin-top:.5rem}.content{width:100%;min-width:0;max-width:1200px;margin:0 auto;padding:1.5rem 2rem 3rem}@media (prefers-reduced-motion:reduce){.sidebar{transition:none}}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow-wrap:anywhere;min-width:0;margin-bottom:1rem;padding:1.1rem 1.25rem}.card-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.75rem;display:flex}.page-title{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:1.25rem;display:flex}.page-title h1{margin:0}.breadcrumb{color:var(--muted);margin:0 0 .5rem;font-size:.9rem}.muted{color:var(--muted)}.small{font-size:.85rem}.hint{background:var(--neutral-bg);color:var(--neutral);border-radius:8px;padding:.6rem .8rem;font-size:.9rem}.error-note{background:var(--danger-bg);color:var(--danger);border-radius:8px;padding:.6rem .8rem}.empty{color:var(--muted);margin:.25rem 0}.loading{color:var(--muted);padding:2rem}.row{flex-wrap:wrap;gap:.5rem;margin:.5rem 0 1rem;display:flex}.stack{flex-direction:column;gap:.9rem;display:flex}.stack>p{margin:0}.button-row{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.button-row .spacer{flex:1}.task-meta{margin:0 0 1rem}.task-actions{justify-content:flex-end;margin:0 0 1rem;display:flex}.stats{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:1rem;margin-bottom:1rem;display:grid}.stat{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);color:var(--text);flex-direction:column;padding:1rem 1.25rem;display:flex}.stat:hover{border-color:var(--brand);text-decoration:none}.stat-value{font-size:2rem;font-weight:700}.stat-label{color:var(--muted);font-size:.9rem}.stat-warn .stat-value{color:var(--warn)}.stat-danger .stat-value{color:var(--danger)}.grid-2{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.badge{white-space:nowrap;border-radius:999px;padding:.2rem .55rem;font-size:.78rem;font-weight:600;display:inline-block}.tone-ok{background:var(--ok-bg);color:var(--ok)}.tone-warn{background:var(--warn-bg);color:var(--warn)}.tone-danger{background:var(--danger-bg);color:var(--danger)}.tone-info{background:var(--info-bg);color:var(--info)}.tone-neutral{background:var(--neutral-bg);color:var(--neutral)}.list{margin:0;padding:0;list-style:none}.list li{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding:.6rem 0;display:flex}.list li:last-child{border-bottom:0}.list-meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:.5rem;font-size:.85rem;display:flex}.table{border-collapse:collapse;width:100%;font-size:.92rem}.table th{text-align:left;color:var(--muted);border-bottom:1px solid var(--border);padding:.5rem;font-weight:600}.table td{border-bottom:1px solid var(--border);vertical-align:top;padding:.55rem .5rem}.table tr:last-child td{border-bottom:0}.error-cell{color:var(--danger);white-space:pre-wrap;word-break:break-word;max-width:360px}.chips{flex-wrap:wrap;gap:.4rem;margin:0 0 1rem;display:flex}.chip{border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;border-radius:999px;padding:.3rem .75rem;font-size:.85rem}.chip-on{background:var(--brand);color:var(--brand-ink);border-color:var(--brand)}.long-text{white-space:pre-wrap;word-break:break-word;background:var(--bg);border-radius:8px;max-height:520px;padding:.8rem 1rem;font-size:.93rem;line-height:1.5;overflow:auto}details{margin:.5rem 0}summary{cursor:pointer;margin-bottom:.4rem;font-weight:600}.timeline{max-height:420px;margin:0;padding:0;font-size:.9rem;list-style:none;overflow:auto}.timeline li{border-bottom:1px solid var(--border);grid-template-columns:150px 150px 1fr;gap:.75rem;padding:.4rem 0;display:grid}.timeline-time{color:var(--muted)}.timeline-type{color:var(--info);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8rem}.form{flex-direction:column;gap:.8rem;display:flex}.form-row{grid-template-columns:2fr 1fr;gap:1rem;display:grid}label{flex-direction:column;gap:.3rem;font-size:.9rem;font-weight:600;display:flex}label.check{flex-direction:row;align-items:center;gap:.5rem;font-weight:500}label.check input{width:auto}.form-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;display:grid}.actions{flex-wrap:wrap;gap:.4rem;display:flex}.actions button{padding:.3rem .7rem;font-size:.85rem}tr.inactive td{color:var(--muted)}input,select,textarea{font:inherit;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:8px;width:100%;padding:.55rem .7rem;font-weight:400}textarea{resize:vertical}button{font:inherit;cursor:pointer;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:8px;padding:.55rem 1rem}button:disabled{opacity:.55;cursor:not-allowed}button.primary{background:var(--brand);border-color:var(--brand);color:var(--brand-ink);font-weight:600}button.danger-outline{border-color:var(--danger);color:var(--danger);background:0 0}button.link{color:var(--sidebar-text);text-align:left;background:0 0;border:0;padding:0;text-decoration:underline}.role-costs{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:.75rem;margin-bottom:.75rem;display:grid}.role-cost{border:1px solid var(--border);border-radius:8px;flex-direction:column;gap:.2rem;padding:.8rem 1rem;display:flex}.role-cost-name{font-weight:600}.role-cost-value{font-size:1.35rem;font-weight:700}.agent-list{flex-direction:column;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.agent-toggle{text-align:left;flex-wrap:wrap;align-items:center;gap:.75rem;width:100%;padding:.8rem 1rem;display:flex}.agent-toggle:hover{border-color:var(--brand)}.agent-toggle[aria-expanded=true]{border-bottom-right-radius:0;border-bottom-left-radius:0}.agent-name{flex:140px;font-weight:600}.agent-model{color:var(--muted);font-size:.88rem}.chevron{transition:transform .15s}.agent-toggle[aria-expanded=true] .chevron{transform:rotate(90deg)}.agent-detail{border:1px solid var(--border);border-top:0;border-radius:0 0 8px 8px;flex-direction:column;gap:.6rem;padding:.8rem 1rem 1rem;display:flex}.agent-detail p{margin:0;line-height:1.5}.agent-detail dl{grid-template-columns:max-content 1fr;gap:.25rem 1rem;margin:0;font-size:.88rem;display:grid}.agent-detail dt{color:var(--muted)}.agent-detail dd{margin:0}.plan-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem;display:grid}.plan-provider{border:1px solid var(--border);border-radius:8px;flex-direction:column;gap:.8rem;min-width:0;padding:.85rem 1rem;display:flex}.plan-provider h3{margin:0;font-size:.95rem}.plan-window{flex-direction:column;gap:.35rem;display:flex}.plan-window-head{flex-wrap:wrap;justify-content:space-between;gap:.5rem;font-size:.9rem;display:flex}.plan-bar{background:var(--neutral-bg);border-radius:999px;height:8px;overflow:hidden}.plan-bar-fill{border-radius:999px;height:100%;display:block}.tone-bar-ok{background:var(--ok)}.tone-bar-warn{background:var(--warn)}.tone-bar-danger{background:var(--danger)}.plan-window.is-renewed .plan-window-head strong{color:var(--muted);font-weight:600}.plan-note{margin:.75rem 0 0}.billing-control{border-top:1px solid var(--border);flex-direction:column;gap:.6rem;padding-top:.75rem;display:flex}.billing-control fieldset{border:0;flex-wrap:wrap;gap:.4rem 1.25rem;margin:0;padding:0;display:flex}.billing-control legend{margin-bottom:.35rem;padding:0;font-size:.9rem;font-weight:600}.billing-control .hint,.billing-control p{margin:0}[data-agent=analyst]{--agent:var(--analyst);--agent-bg:var(--analyst-bg);--agent-fill:var(--analyst-fill)}[data-agent=developer]{--agent:var(--developer);--agent-bg:var(--developer-bg);--agent-fill:var(--developer-fill);--agent-delay:-1.4s}[data-agent=reviewer]{--agent:var(--reviewer);--agent-bg:var(--reviewer-bg);--agent-fill:var(--reviewer-fill);--agent-delay:-2.7s}.office-title{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.office-layout{grid-template:"scene aside""cards aside""history aside"1fr/minmax(0,1fr) 320px;align-items:start;gap:1rem;margin-bottom:1rem;display:grid}.office-layout .card{margin-bottom:0}.office-main{grid-area:scene;min-width:0}.agent-cards{grid-area:cards;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:1rem;display:grid}.office-aside{grid-area:aside;min-width:0;position:sticky;top:calc(56px + 1rem)}.office-flow{min-width:0;container-type:inline-size}.office-history{grid-area:history;min-width:0}.agent-dot{background:var(--agent-fill);border-radius:50%;flex:none;width:.65rem;height:.65rem;display:inline-block}.office-scene{border:1px solid var(--border);border-radius:var(--radius);background:linear-gradient(var(--office-wall) 0 68%, var(--office-floor) 68% 100%);padding:.75rem 1rem 1rem;overflow:hidden}.office-decor{width:100%;height:48px;margin-bottom:.25rem;display:block}.decor-window{fill:var(--office-window);stroke:var(--border);stroke-width:2px}.decor-window-bar{stroke:var(--office-wall);stroke-width:3px}.decor-shelf{fill:var(--office-desk)}.decor-book{fill:var(--developer-fill);opacity:.45}.decor-book.alt{fill:var(--analyst-fill)}.decor-clock{fill:var(--surface);stroke:var(--border);stroke-width:2px}.decor-clock-hand{stroke:var(--muted);stroke-width:2px;stroke-linecap:round;fill:none}.office-desks{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:.75rem;display:grid}.desk{min-width:0;color:var(--text);background:0 0;border:2px solid #0000;border-radius:12px;flex-direction:column;align-items:center;gap:.4rem;padding:.6rem .5rem .5rem;display:flex}.desk:hover{background:color-mix(in srgb, var(--agent-bg) 55%, transparent)}.desk[aria-pressed=true]{border-color:var(--agent);background:color-mix(in srgb, var(--agent-bg) 80%, transparent)}.desk:focus-visible,.agent-card:focus-visible{outline:3px solid var(--agent);outline-offset:2px}.desk .robot{width:100%;max-width:210px}.desk-name{color:var(--agent);font-size:.88rem;font-weight:700}.bubble{border:1px solid var(--border);background:var(--surface);text-align:center;border-radius:12px;justify-content:center;align-items:center;width:100%;max-width:220px;min-height:3em;padding:.45rem .6rem;font-size:.82rem;line-height:1.3;display:flex;position:relative;box-shadow:0 1px 2px #0000000d}.bubble:after{content:"";background:var(--surface);border-right:1px solid var(--border);border-bottom:1px solid var(--border);width:12px;height:12px;position:absolute;bottom:-7px;left:28%;transform:rotate(45deg)}.desk[data-status=waiting] .bubble{color:var(--muted)}.desk[data-status=done] .bubble{color:var(--ok)}.desk[data-status=blocked] .bubble,.desk[data-status=blocked] .bubble:after{border-color:var(--danger)}.desk[data-status=blocked] .bubble{color:var(--danger);font-weight:600}.robot{height:auto;display:block;overflow:visible}.r-chair{fill:var(--office-chair)}.r-body,.r-arm-front{fill:var(--agent-fill)}.r-arm-back{fill:var(--agent)}.r-chest{fill:var(--surface);opacity:.55}.r-face{fill:var(--surface)}.r-eye{fill:var(--text)}.r-antenna{stroke:var(--agent-fill);stroke-width:3px;stroke-linecap:round}.r-led{fill:var(--agent-fill)}.r-frame,.r-keyboard{fill:var(--office-frame)}.r-screen{fill:var(--office-screen)}.r-code rect{fill:var(--agent-fill)}.r-desk{fill:var(--office-desk)}.r-desk-leg{fill:var(--office-desk-leg)}.r-check{fill:none;stroke:#4cc27e;stroke-width:5px;stroke-linecap:round;stroke-linejoin:round;display:none}.r-alert{display:none}.r-alert circle:first-child{fill:#f2b233}.r-alert>:not(:first-child){fill:#1f2a3d}.r-bot,.r-head,.r-eyes,.r-eye,.r-arm,.r-check{transform-box:fill-box}.r-bot,.r-head{transform-origin:50% 100%}.r-eyes,.r-eye,.r-check{transform-origin:50%}.is-waiting .r-code{opacity:.25}.is-waiting .r-led{fill:var(--office-chair)}.is-blocked .r-code,.is-done .r-code{display:none}.is-blocked .r-alert,.is-done .r-check{display:inline}.is-blocked .r-head{transform:rotate(-7deg)}.is-blocked .r-led{fill:#f2b233}.is-done .r-arm{transform:translateY(6px)}.is-done .r-led{fill:#4cc27e}.agent-card{text-align:left;background:var(--surface);border:1px solid var(--border);border-top:3px solid var(--agent);border-radius:var(--radius);flex-direction:column;gap:.45rem;min-width:0;padding:.9rem 1rem;display:flex}.agent-card:hover{border-color:var(--agent)}.agent-card[aria-pressed=true]{border-color:var(--agent);box-shadow:0 0 0 3px var(--agent-bg)}.agent-card-head{flex-wrap:wrap;align-items:center;gap:.3rem .5rem;display:flex}.agent-card-head strong{overflow-wrap:anywhere;flex:auto;min-width:0}.agent-card-task{font-size:.9rem;line-height:1.35}.agent-card[data-status=blocked]{border-color:var(--danger);border-top-color:var(--agent)}.agent-progress{align-items:center;gap:.6rem;display:flex}.agent-progress .plan-bar{flex:1}.agent-bar-fill{background:var(--agent-fill)}.agent-panel{border-top:3px solid var(--agent)}.agent-panel h2{align-items:center;gap:.5rem;display:flex}.agent-panel-role{margin:-.4rem 0 .9rem}.agent-facts{gap:.15rem;margin:0 0 1rem;display:grid}.agent-facts dt{color:var(--muted);margin-top:.55rem;font-size:.8rem;font-weight:600}.agent-facts dt:first-child{margin-top:0}.agent-facts dd{margin:0;font-size:.92rem;line-height:1.45}.file-path{background:var(--bg);word-break:break-all;border-radius:6px;padding:.15rem .4rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.82rem}.agent-task{flex-wrap:wrap;align-items:center;gap:.4rem;display:inline-flex}.file-list{flex-direction:column;gap:.2rem;margin:0;padding:0;list-style:none;display:flex}.agent-blocked{background:var(--danger-bg);color:var(--danger);border-radius:8px;margin:0 0 1rem;padding:.6rem .8rem}.agent-blocked p{white-space:pre-wrap;overflow-wrap:anywhere;max-height:9rem;margin:.25rem 0 0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8rem;overflow:auto}.agent-panel-subtitle{margin:0 0 .5rem;font-size:.9rem}.agent-open{margin-top:.75rem;font-weight:600;display:inline-block}.steps{flex-direction:column;gap:.3rem;margin:0 0 1rem;padding:0;list-style:none;display:flex}.steps li{border-radius:8px;grid-template-columns:1.3rem 1fr auto;align-items:center;gap:.5rem;padding:.35rem .5rem;font-size:.9rem;display:grid}.steps li[data-state=active]{background:var(--agent-bg);font-weight:600}.steps li[data-state=pending]{color:var(--muted)}.step-icon{text-align:center;color:var(--agent)}.steps li[data-state=done] .step-icon{color:var(--ok)}.steps li[data-state=failed]{background:var(--danger-bg);color:var(--danger);font-weight:600}.steps li[data-state=failed] .step-icon,.steps li[data-state=failed] .step-state{color:var(--danger)}.step-state{color:var(--muted);font-size:.75rem;font-weight:500}.flow{overflow-wrap:normal;grid-template-columns:repeat(7,minmax(0,1fr));gap:1.1rem;margin:0;padding:0;list-style:none;display:grid}.flow-stage{--stage:var(--agent,var(--border));min-width:0;position:relative}.flow-stage[data-kind=queue]{--stage:var(--neutral)}.flow-stage[data-kind=human]{--stage:var(--warn)}.flow-stage[data-kind=done]{--stage:var(--ok)}.flow-stage>a{border:1px solid var(--border);border-top:4px solid var(--stage);background:var(--surface);height:100%;color:var(--text);border-radius:8px;flex-direction:column;gap:.1rem;padding:.6rem .7rem;display:flex}.flow-stage>a:hover{border-color:var(--stage);text-decoration:none}.flow-stage.has-items[data-kind=agent]>a{background:var(--agent-bg)}.flow-stage.has-items[data-kind=human]>a{background:var(--warn-bg)}.flow-stage.has-blocked>a{border-color:var(--danger)}.flow-stage:not(:last-child):after{content:"→";text-align:center;width:1rem;color:var(--muted);position:absolute;top:50%;right:-1.05rem;transform:translateY(-50%)}.flow-stage-name{color:var(--agent,var(--text));font-size:.88rem;font-weight:700}.flow-count{font-size:1.5rem;font-weight:700;line-height:1.2}.flow-blocked{color:var(--danger);font-size:.78rem;font-weight:700}@container (width<=900px){.flow{grid-template-columns:minmax(0,1fr);gap:1rem}.flow-stage>a{flex-flow:wrap;align-items:baseline;column-gap:.6rem}.flow-count{margin-left:auto;font-size:1.2rem}.flow-stage:not(:last-child):after{content:"↓";inset:auto auto -1.05rem 1rem;transform:none}}.activity{margin:0;padding:0;list-style:none}.activity li{border-bottom:1px solid var(--border);grid-template-columns:.65rem 1fr auto;align-items:center;gap:.6rem;padding:.45rem 0;font-size:.9rem;display:grid}.activity li:last-child{border-bottom:0}.activity-text{min-width:0}.activity-task{font-size:.82rem;display:block}.r-led,.r-code rect{animation-delay:var(--agent-delay,0s)}.is-working .r-led{animation:1.6s ease-in-out infinite robot-pulse}.is-waiting .r-led{animation:3.2s ease-in-out infinite robot-pulse}.is-done .r-led{animation:4s ease-in-out infinite robot-pulse}.is-blocked .r-led,.is-blocked .r-alert{animation:1.2s ease-in-out infinite robot-pulse}.is-working .r-code rect{animation:1.6s ease-in-out infinite robot-code}.is-waiting .r-code rect{animation:3.6s ease-in-out infinite robot-code}.is-working .r-code rect:nth-child(2){animation-delay:.4s}.is-working .r-code rect:nth-child(3){animation-delay:.8s}.is-working .r-code rect:nth-child(4){animation-delay:1.2s}.is-waiting .r-code rect:nth-child(2){animation-delay:.9s}.is-waiting .r-code rect:nth-child(3){animation-delay:1.8s}.is-waiting .r-code rect:nth-child(4){animation-delay:2.7s}@media (prefers-reduced-motion:no-preference){.r-bot{animation:robot-breathe 3.4s ease-in-out infinite var(--agent-delay,0s)}.r-eyes{animation:robot-blink 4.6s infinite var(--agent-delay,0s)}.is-working .r-bot{animation-duration:2.2s}.is-working .r-arm-front{animation:.42s ease-in-out infinite alternate robot-type}.is-working .r-arm-back{animation:.42s ease-in-out infinite alternate-reverse robot-type}.is-waiting .r-head{animation:robot-sway 4.8s ease-in-out infinite var(--agent-delay,0s)}.is-waiting .r-eye{animation:robot-look 7s ease-in-out infinite var(--agent-delay,0s)}.is-done .r-check{animation:2.4s ease-in-out infinite robot-pop}.is-blocked .r-head{animation:2.4s ease-in-out infinite robot-worry}.r-arm,.r-head{transition:transform .3s}.agent-bar-fill{transition:width .6s}}@keyframes robot-breathe{0%,to{transform:translateY(0)}50%{transform:translateY(-2.5px)}}@keyframes robot-blink{0%,93%,to{transform:scaleY(1)}96%{transform:scaleY(.1)}}@keyframes robot-type{0%{transform:translateY(0)}to{transform:translateY(-3px)}}@keyframes robot-code{0%,to{opacity:.35}50%{opacity:1}}@keyframes robot-pulse{0%,to{opacity:1}50%{opacity:.4}}@keyframes robot-sway{0%,to{transform:rotate(-4deg)}50%{transform:rotate(4deg)}}@keyframes robot-look{0%,30%,90%,to{transform:translate(0)}38%,52%{transform:translate(-3px)}62%,80%{transform:translate(2.5px)}}@keyframes robot-pop{0%,to{transform:scale(1)}50%{transform:scale(1.12)}}@keyframes robot-worry{0%,to{transform:rotate(-8deg)}50%{transform:rotate(-5deg)}}@media (width<=1000px){.office-layout{grid-template-rows:none;grid-template-columns:minmax(0,1fr);grid-template-areas:"scene""cards""aside""history"}.office-aside{position:static}}@media (width<=560px){.office-scene{padding:.5rem .5rem .75rem}.office-decor{height:32px}.office-desks{gap:.25rem}.desk{padding:.4rem .2rem .35rem}.bubble{min-height:4em;padding:.35rem .4rem;font-size:.72rem}.desk-name{font-size:.78rem}.steps li{grid-template-columns:1.3rem 1fr}.step-state{grid-column:2}}.login{place-items:center;min-height:100vh;padding:1rem;display:grid}.login-card{flex-direction:column;gap:.9rem;width:min(380px,100%);display:flex}.login-card h1{margin:0}@media (width<=860px){.content{padding:1rem 1rem 2.5rem}.grid-2,.form-row{grid-template-columns:1fr}.timeline li{grid-template-columns:1fr;gap:.1rem}}@media (width<=720px){.table thead{display:none}.table,.table tbody,.table tr,.table td{width:100%;display:block}.table tr{border:1px solid var(--border);border-radius:8px;margin-bottom:.6rem;padding:.4rem .75rem}.table td{border-bottom:1px solid var(--border);grid-template-columns:minmax(90px,35%) 1fr;gap:.75rem;padding:.35rem 0;display:grid}.table tr td:last-child{border-bottom:0}.table td:before{content:attr(data-label);color:var(--muted);font-size:.82rem;font-weight:600}.table td[data-label=""]{grid-template-columns:1fr}.table td>*{justify-self:start;min-width:0}.table td .badge{white-space:normal;border-radius:8px}.table td[data-label=""]:before{display:none}.error-cell{max-width:none}.button-row>button,.task-actions>button{flex:auto}.button-row .spacer{display:none}.agent-detail dl{grid-template-columns:1fr}.agent-detail dt{margin-top:.3rem}h1{font-size:1.3rem}}
