:root{color-scheme:dark;--bg:#0d131a;--panel:#17232d;--ink:#d5e1e6;--muted:#7d919d;--line:#a1b5ca1b;--mint:#a5cfb5;--font:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}html,body{height:100%;width:100%;margin:0;overflow:hidden}body{background:var(--bg);color:var(--ink);font:13px var(--font);-webkit-font-smoothing:antialiased}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;color:inherit}button:disabled{opacity:.45;cursor:default}a{color:var(--mint)}button:focus-visible,a:focus-visible,textarea:focus-visible,input:focus-visible{outline:2px solid #a5cfb5;outline-offset:4px}svg{display:block;width:20px;height:20px;stroke-width:1.65;flex-shrink:0}.glass{background:linear-gradient(135deg,#202b35e3,#141e28ed);border:1px solid #b1c7db1c;box-shadow:0 12px 45px #0003,inset 0 1px #ffffff05;backdrop-filter:blur(22px)}main,.page{position:fixed;inset:0;pointer-events:none}.sidebar{position:fixed;inset:0 auto 0 0;width:94px;z-index:60;pointer-events:none}.brand{position:fixed;top:28px;left:27px;pointer-events:auto;text-decoration:none}.brand-mark{width:43px;height:43px;border-radius:12px;background:#344b46;border:1px solid #628a6b45;display:inline-flex;align-items:center;justify-content:center;color:#e6f2e5;font-size:38px;font-weight:750;line-height:1;letter-spacing:-4px;padding-right:5px}.brand-mark>span{color:#c6d69f;font-size:26px;align-self:flex-end;margin:0 0 2px 1px}.brand-word,.profile-label,.breadcrumb{display:none}.nav-dock{position:fixed;left:20px;top:calc(50% - 157px);padding:7px;width:64px;border-radius:19px;display:grid;gap:6px;pointer-events:auto}.nav-item{width:48px;height:61px;border-radius:12px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;background:transparent;color:#7f909c;position:relative}.nav-item:hover,.nav-item.active{color:#b6ddc6;background:#698e7129}.nav-item.active{box-shadow:inset 0 0 0 1px #8daf751b}.nav-item svg{width:19px;height:19px}.nav-caption{font-size:9px}.nav-count{position:absolute;right:6px;top:5px;border-radius:4px;background:#2d3d48;color:#9db8bf;min-width:13px;padding:1px 3px;font-size:8px}.profile{position:fixed;left:20px;bottom:23px;width:64px;height:60px;border-radius:17px;display:grid;place-items:center;pointer-events:auto}.avatar-user{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:#aa927535;border:1px solid #af98732d;color:#d2bf9b;font-size:10px;font-weight:650}.topbar{position:fixed;right:25px;top:27px;z-index:7;pointer-events:auto}.topbar-right{display:flex;gap:12px;align-items:center}.connection-indicator{position:fixed;right:29px;bottom:20px;color:#72838e;font-size:9px;display:flex;align-items:center;gap:6px}.connection-indicator i{width:4px;height:4px;border-radius:50%;background:#7fa384}.icon-button{width:32px;height:32px;display:grid;place-items:center;background:transparent;border-radius:7px;color:#8597a3}.icon-button:hover{color:#dfebdf;background:#819d8820}.icon-button svg{width:17px;height:17px}.page-heading{position:fixed;top:30px;left:108px;z-index:7;pointer-events:none}.eyebrow{font-size:8px;letter-spacing:1.65px;color:#8796a0;font-weight:600}.eyebrow>span{color:#536471;margin:0 4px}h1{font-size:25px;font-weight:550;letter-spacing:-.9px;line-height:1.3;margin:7px 0 4px}.heading-dot{color:#a0be8a}#pageSubtitle{font-size:11px;color:#6c7c88;margin:0}.mode-notice{position:fixed;right:73px;top:30px;z-index:9;border-radius:22px;padding:8px 11px;display:flex;gap:7px;align-items:center;pointer-events:auto;font-size:9px;color:#c4bd9e}.mode-notice>span:first-child{color:#c7b482}.mode-notice svg{width:12px;height:12px}.mode-notice strong{font-weight:500}.mode-notice button{background:none;color:#8e9d93;font-size:9px;border-left:1px solid #a8b5ba15;padding:0 0 0 9px;margin-left:2px}.stats{position:fixed;top:28px;left:50%;transform:translateX(-50%);z-index:6;border-radius:14px;display:flex;align-items:center;pointer-events:auto;padding:13px 4px}.stat{display:flex;align-items:center;gap:9px;min-width:108px;padding:0 18px;border-right:1px solid #a6b9c316;position:relative}.stat:last-child{border:0;min-width:158px}.stat-icon{width:28px;height:29px;border-radius:8px;display:grid;place-items:center;background:#29343f;color:#8fa2b6}.stat-icon svg{width:15px;height:15px}.stat-icon.green{background:#87b58b13;color:#9bb99b}.stat-icon.amber{background:#bda76e16;color:#c0ad82}.stat-icon.lavender{background:#a18bc31a;color:#b4a0cb}.stat-icon.blue{background:#80acb818;color:#8eaebb}.stat-label{font-size:9px;color:#81909d;display:block;margin-bottom:5px}.stat strong{display:block;font-size:19px;line-height:1;font-weight:550;color:#dce6e9;letter-spacing:-.6px}.stat small{display:none}.stat .stat-text{font-size:10px;letter-spacing:0;font-weight:450;line-height:1.5;max-width:110px}.stat-link{position:absolute;right:11px;top:0;background:none;color:#769285;font-size:11px}.view{display:none}#view-office{position:fixed;inset:0;display:block;pointer-events:none}.office-scene{position:absolute;inset:0;pointer-events:auto;background:radial-gradient(ellipse at 50% 53%,#26302d 0%,#172128 33%,#101820 63%,#0d131a 100%)}canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}canvas:active{cursor:grabbing}.scene-label{position:fixed;left:50%;transform:translateX(-50%);top:109px;display:flex;align-items:center;gap:7px;border-radius:20px;padding:8px 12px;font-size:10px;color:#9eafa9;pointer-events:none;z-index:3}.online-dot{width:5px;height:5px;border-radius:50%;background:#98b58e;box-shadow:0 0 10px #a8c59230}.scene-floor{font-size:7px;letter-spacing:1px;color:#617583;border-left:1px solid #95acb623;margin-left:4px;padding-left:10px}.scene-tools{position:fixed;right:26px;bottom:67px;z-index:5;display:flex;align-items:center;gap:2px;padding:5px;border-radius:12px;pointer-events:auto}.scene-tools>button{background:transparent;color:#91a2ae;min-width:30px;height:30px;font-size:19px;border-radius:6px}.scene-tools>button:hover{background:#607a6a20;color:#d8e9db}.scene-tools #zoomReset{font-size:10px;padding:0 4px}.scene-tools .icon-button{width:29px;min-width:29px}.control-divider{height:15px;width:1px;background:#9ab0b021;margin:0 4px}.office-caption{position:fixed;left:114px;top:159px;pointer-events:none}.office-caption>span{font-size:8px;letter-spacing:2.8px;color:#657c83}.office-caption p{margin:7px 0 13px;font-size:11px;color:#526975}.office-legend{display:flex;gap:13px;color:#6f868d;font-size:8px}.office-legend>span{display:flex;align-items:center;gap:5px}.legend-dot{width:4px;height:4px;display:inline-block;border-radius:50%}.ready{background:#748b89}.busy{background:#b4a0d1}.review{background:#d0b277}.scene-bottom{position:fixed;bottom:21px;left:113px;display:flex;align-items:center;gap:22px;font-size:8px;pointer-events:none;color:#526672}.scene-tip{display:flex;gap:5px;align-items:center}.scene-tip svg{width:11px;height:11px}.office-footer-right{display:flex;gap:5px;align-items:center;color:#526d65}.live-dot{height:3px;width:3px;background:#7b9b7e;border-radius:50%}.team-strip-card{position:fixed;right:26px;top:50%;transform:translateY(-43%);width:145px;padding:15px 10px 8px;border-radius:16px;z-index:4;pointer-events:auto}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:10px}h2{margin:0;font-size:14px;font-weight:550;letter-spacing:-.2px}.section-heading h2{font-size:11px;display:flex;gap:7px;align-items:center;color:#b6c5c9}.section-heading h2>span{font-size:9px;color:#658079;background:#6a8b6e1c;border-radius:4px;padding:2px 5px}.text-button{padding:0 2px;background:none;color:#7e938b;font-size:13px}.team-strip{display:grid;gap:4px}.team-person{padding:8px 7px;display:grid;grid-template-columns:31px 1fr;grid-template-rows:15px 13px;text-align:left;gap:0 9px;border-radius:8px;background:transparent;align-items:center;min-width:0}.team-person:hover{background:#9cbba710}.agent-avatar{position:relative;display:inline-grid;place-items:center;width:34px;height:34px;border-radius:7px;background:#333d43!important;border:1px solid #c2d2d31c}.agent-avatar svg{width:29px;height:29px;image-rendering:pixelated;stroke:none}.agent-avatar:after{content:'';position:absolute;right:-2px;bottom:-1px;width:5px;height:5px;background:#5f8072;border:2px solid #1e2931;border-radius:50%}.agent-avatar.working:after{background:#c0a4df;box-shadow:0 0 7px #bea2e34a;animation:pulse 1.5s infinite}.agent-avatar.reviewing:after{background:#d2b175}.team-person .agent-avatar{grid-row:1/3;width:30px;height:30px}.team-person .agent-avatar svg{width:26px;height:26px}.team-person strong{font-size:11px;font-weight:500;color:#bac9d1;display:block}.team-person small{font-size:8px;color:#687f8c;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.activity-card{position:fixed;left:111px;bottom:78px;width:258px;border-radius:14px;overflow:hidden;z-index:5;pointer-events:auto}.activity-toggle{background:none;width:100%;display:flex;justify-content:space-between;align-items:center;padding:14px;color:#95a8ae}.activity-heading{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:500}.activity-heading svg{width:14px;height:14px;color:#879f92}.muted-label{font-size:7px;letter-spacing:1px;color:#66807a;margin-left:3px}.activity-chevron{font-size:14px;color:#627b81;transition:transform .2s}.activity-list{display:none;padding:0 15px 16px;max-height:175px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#435351 transparent}.activity-card.activity-open .activity-list{display:grid;gap:13px}.activity-card.activity-open .activity-chevron{transform:rotate(180deg)}.activity-row{display:flex;gap:9px;color:#9eb0ba;align-items:flex-start;font-size:10px!important}.activity-row strong{font-size:10px;font-weight:500;color:#b6c8cc}.activity-row p{font-size:9px;line-height:1.7;color:#70878d;margin:4px 0 0}.activity-dot{height:4px;width:4px;border-radius:50%;background:#85a58b;margin-top:6px;flex-shrink:0}.activity-time{margin-left:auto;font-size:8px;color:#536e79;white-space:nowrap}.empty-activity{font-size:11px;color:#728a91}.empty-activity p{margin:0}.empty-activity small{display:block;margin-top:6px;font-size:10px;color:#4e6a75}.command-column{position:fixed;bottom:65px;left:50%;transform:translateX(-50%);width:420px;z-index:15;pointer-events:auto}.composer-launcher{width:100%;display:flex;gap:13px;align-items:center;text-align:left;padding:13px;border-radius:17px}.composer-launcher:hover{border-color:#99bda749;background:#1e2d33ef}.launcher-avatar{display:grid;place-items:center;width:37px;height:37px;background:#6d78951a;border:1px solid #7587922b;border-radius:10px}.launcher-avatar svg{width:29px;height:29px;stroke:none;image-rendering:pixelated}.composer-launcher strong{font-size:12px;font-weight:500;color:#c5d7d9;display:block}.composer-launcher small{display:block;color:#6d8792;font-size:10px;margin-top:5px}.launcher-key{margin-left:auto;border:1px solid #b2c9c019;color:#6c837f;padding:4px 7px;font-size:10px;border-radius:5px}.launcher-send{height:33px;width:33px;border-radius:9px;background:#96b5a2;color:#21342c;display:grid;place-items:center}.launcher-send svg{width:16px;height:16px}.command-card{position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:500px;max-width:calc(100vw - 40px);border-radius:18px;padding:22px;background:linear-gradient(135deg,#202d35f5,#14232bf8);box-shadow:0 20px 100px #0005}.command-card[hidden]{display:none}.composer-heading{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:18px}.composer-heading h2{font-size:17px;color:#cadcde;margin-top:8px}.composer-heading .eyebrow{color:#7a9c8f;font-size:7px}.command-card textarea{width:100%;resize:none;background:#101c24a6;border:1px solid #8da7b01e;border-radius:9px 9px 0 0;padding:14px 13px;font-size:13px;line-height:1.8;color:#c4d7dc;display:block;min-height:110px;max-height:200px}.command-card textarea::placeholder{color:#4d6875}.command-card textarea:focus{outline:0;border-color:#8db39b66;background:#102029}.composer-footer{display:flex;justify-content:space-between;gap:10px;font-size:9px;color:#5e7d89;border:1px solid #8da7b01e;border-top:0;border-radius:0 0 9px 9px;padding:0 13px 12px;background:#101c24a6}.composer-footer>span:first-child{display:flex;align-items:center;gap:5px}.composer-footer i{width:4px;height:4px;background:#9d94bf;border-radius:50%}.composer-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:13px}.composer-actions>span{font-size:9px;color:#66888b}.primary-button{display:flex;gap:9px;align-items:center;justify-content:center;border:1px solid #b3d4bf20;border-radius:8px;padding:11px 16px;background:#9abca8;color:#172c22;font-size:11px;font-weight:550}.primary-button:hover{background:#b4cfbd}.primary-button svg{width:15px;height:15px}.suggestions{display:flex;gap:7px;margin-top:17px}.suggestions button{background:#7f9e9c0b;border:1px solid #82a5b018;color:#78999f;display:flex;align-items:center;gap:5px;justify-content:center;flex:1;font-size:9px;border-radius:6px;padding:9px 4px;white-space:nowrap}.suggestions button:hover{background:#8fa89115;color:#bad1c6}.suggestions svg{width:11px;height:11px}.page-footer{position:fixed;bottom:21px;left:50%;transform:translateX(-50%);font-size:7px;letter-spacing:1px;color:#364d58;text-align:center}.page-footer>span:first-child{display:none}.drawer-backdrop{display:none;position:fixed;inset:0;z-index:25;background:#08131bc7;backdrop-filter:blur(6px);pointer-events:auto}.drawer-close{display:none;position:fixed;right:201px;top:155px;z-index:45;width:36px;height:36px;border-radius:9px;pointer-events:auto;color:#879f9e}.drawer-close svg{margin:auto;width:16px;height:16px}body:not([data-view="office"]) .drawer-backdrop,body:not([data-view="office"]) .drawer-close{display:block}body:not([data-view="office"]) .command-column,body:not([data-view="office"]) .team-strip-card,body:not([data-view="office"]) .scene-label{visibility:hidden}.view:not(#view-office).active-view{display:block;position:fixed;left:112px;right:199px;top:145px;bottom:82px;overflow:auto;scrollbar-width:thin;scrollbar-color:#354b53 transparent;border-radius:17px;padding:26px;background:#14212bf5;border:1px solid #819daa20;z-index:30;pointer-events:auto;box-shadow:0 25px 100px #0003}.list-heading{padding-right:41px}.section-heading.list-heading{margin-bottom:24px}.secondary-button{display:flex;align-items:center;gap:7px;padding:10px 12px;border:1px solid #7e9a9c2b;background:#2437403d;border-radius:7px;color:#91b3b1;font-size:11px}.secondary-button:hover{background:#40594b3d;color:#b8d0c0}.secondary-button svg{width:14px;height:14px}.task-list{display:grid;gap:11px}.task-card{border:1px solid #8ba6a418;border-radius:10px;padding:18px;display:flex;align-items:center;gap:13px;background:#1a2d353d;cursor:pointer}.task-card:hover{border-color:#85aa8b40}.task-card>span:first-child{background:#35534632;border-radius:8px;height:34px;width:34px;display:grid;place-items:center;color:#82aa94;flex-shrink:0}.task-card h3{font-size:12px;font-weight:500;color:#bfd2d6;margin:0;overflow-wrap:anywhere}.task-card p{font-size:10px;color:#607f8d;margin:8px 0 0}.task-status{margin-left:auto;border-radius:6px;font-size:9px;padding:5px 7px;color:#94b6a0;background:#6b97731f;white-space:nowrap}.task-status.working,.task-status.planning,.task-status.reviewing{color:#b39bcb;background:#9e84b918}.task-status.failed,.task-status.interrupted{color:#c88f80;background:#b97a6917}.empty-state{border:1px dashed #82a28b33;border-radius:13px;padding:55px 20px;text-align:center;color:#789c96}.empty-state>svg{width:30px;height:30px;margin:auto;color:#698f80}.empty-state h3{font-size:18px;font-weight:500;color:#b2cbc0}.empty-state p{font-size:12px;color:#64858a}.empty-state button{margin:23px auto 0}.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;padding-top:25px}.agent-card{background:#23353c42;border:1px solid #8aa3a51b;border-radius:12px;padding:23px;text-align:left;cursor:pointer}.agent-card:hover{border-color:#8db29944}.agent-card .agent-avatar{width:48px;height:48px;border-radius:10px;margin-bottom:16px}.agent-card .agent-avatar svg{width:40px;height:40px}.agent-card h3{font-size:18px;font-weight:550;margin:0 0 6px;color:#c0d5d4}.role-label{font-size:10px;color:#789e8d}.agent-card p{font-size:11px;line-height:1.9;color:#688896;margin:12px 0 0}.info-box{display:flex;align-items:flex-start;gap:10px;background:#5e807012;border:1px solid #8cac821b;border-radius:9px;padding:16px 18px;color:#759f92;font-size:11px;line-height:1.9;margin:20px 0}.info-box svg{width:16px;height:16px;flex-shrink:0;margin-top:3px}.info-box p{margin:0}.integration-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px;padding-top:22px}.integration-card{position:relative;padding:24px;border:1px solid #8eaaab1a;border-radius:13px;background:#1c303941}.integration-symbol{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;margin-bottom:19px;background:#769c9e15;color:#8eafa8}.telegram-symbol{background:#5a91ac15;color:#7f9fae}.ai-symbol{background:#82a57518;color:#98af7c}.integration-status{position:absolute;right:20px;top:28px;font-size:9px;padding:5px 7px;background:#667f6b1c;color:#8fa88a;border:1px solid #94ab8115;border-radius:6px;max-width:190px;overflow-wrap:anywhere}.integration-card h2{font-size:21px;color:#c1d4d6}.integration-card>p{font-size:12px;line-height:1.9;color:#73909b;margin:13px 0 0}.setup-steps{display:grid;gap:17px;margin-top:25px}.setup-steps>div{display:flex;gap:10px;align-items:flex-start;color:#7b9da3;font-size:11px;line-height:1.9}.setup-steps b{width:21px;height:21px;min-width:21px;display:grid;place-items:center;border-radius:50%;background:#84a27610;color:#7f9d75;font-size:9px;font-weight:400}.setup-steps code{font-size:9px;color:#9bb3a0;background:#84a78b12;padding:2px 4px;border-radius:3px;overflow-wrap:anywhere}.setup-steps a{color:#9bbbaa;text-underline-offset:3px}.telegram-example,.provider-box,.provider-config{margin:23px 0 0;border:1px solid #8ca08c1c;background:#21352f2d;border-radius:9px;padding:17px}.telegram-example>span{font-size:7px;letter-spacing:1.3px;color:#657c6c}.telegram-example p{font-family:ui-monospace,monospace;font-size:11px;color:#9bb3a0;margin:12px 0}.telegram-example small{font-size:9px;line-height:1.8;color:#5d827d}.integration-card>.secondary-button{margin-top:23px}.integration-note{font-size:10px!important;line-height:1.8;color:#5e7d86!important;margin:13px 0 0!important}.provider-config>div{display:grid;grid-template-columns:80px minmax(0,1fr);gap:9px;margin-bottom:11px;font-size:10px}.provider-config>div>span{color:#69858a}.provider-config code{color:#91b0a8;font-size:10px;overflow-wrap:anywhere;line-height:1.8;white-space:pre-wrap}.provider-config strong{font-size:10px;color:#94b4a9;font-weight:500}.provider-config>p{color:#5e807e;font-size:9px;line-height:1.8;margin:13px 0 0}.provider-box svg{width:15px;height:15px;color:#819c7b;margin-bottom:12px}.provider-box strong{font-size:12px;color:#96b58e;font-weight:500}.provider-box p{font-size:10px;line-height:1.9;color:#617f7a;margin:8px 0 0}.model-list{list-style:none;display:grid;gap:8px;max-height:40vh;overflow:auto;padding:0}.model-list li{padding:11px;background:#1f3331;border:1px solid #8aab8a20;border-radius:7px;font-size:11px;overflow-wrap:anywhere}dialog{background:linear-gradient(145deg,#1e2c36,#14222c);color:#cadcde;border:1px solid #abc4c32b;border-radius:17px;padding:25px;width:580px;max-width:calc(100vw - 30px);max-height:calc(100dvh - 45px);box-shadow:0 30px 150px #0006;scrollbar-width:thin;scrollbar-color:#4b6463 transparent}dialog::backdrop{background:#050e16bb;backdrop-filter:blur(7px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}dialog h2{font-size:23px;font-weight:500;line-height:1.5;margin:13px 0;color:#c9dcda;overflow-wrap:anywhere}dialog p{font-size:12px;line-height:1.9;color:#7797a0}dialog .agent-avatar{width:60px;height:60px}dialog .agent-avatar svg{width:50px;height:50px}.detail-role{font-size:12px;color:#87a995}.detail-meta{display:flex;gap:9px;align-items:center;font-size:9px;line-height:1.9;color:#66838f;margin:14px 0}.detail-meta .task-status{margin-left:0}.detail-output{background:#101e27;border:1px solid #78979324;border-radius:9px;padding:17px;color:#9eb8bd;font:12px/1.95 var(--font);white-space:pre-wrap;word-break:break-word;max-height:40vh;overflow:auto;scrollbar-width:thin}.detail-events{font-size:10px;line-height:1.9;color:#6f8f91;max-height:130px;overflow:auto;padding-left:20px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:17px}.login-heading{text-align:center;margin:10px 0 25px}.login-heading .brand-mark{letter-spacing:-3px}#loginDialog{width:390px}#loginForm label{display:block;font-size:11px;color:#88a597;margin-bottom:9px}#loginForm input{width:100%;padding:12px;border:1px solid #88a3922e;border-radius:7px;background:#111f28;color:#c3d8d5}#loginForm .primary-button{width:100%}#loginError{color:#ca9686;font-size:10px;min-height:16px}#toast{position:fixed;bottom:157px;left:50%;transform:translate(-50%,12px);background:#2d443ff2;border:1px solid #acc6ad2b;color:#c5dac9;padding:12px 18px;border-radius:9px;font-size:11px;box-shadow:0 10px 35px #0003;opacity:0;transition:.2s;pointer-events:none;max-width:calc(100vw - 45px);z-index:100}#toast.show{opacity:1;transform:translate(-50%,0)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes pulse{50%{box-shadow:0 0 0 3px #c1abd325}}
@media(min-width:1650px){.command-column{width:470px}.team-strip-card{right:35px;width:157px}.team-person{padding:9px 8px;grid-template-columns:34px 1fr}.team-person strong{font-size:12px}.team-person small{font-size:9px}.stats{padding:15px 8px}.stat{padding:0 22px;min-width:126px}.stat:last-child{min-width:170px}.stat-label{font-size:10px}.stat strong{font-size:21px}.activity-card{width:280px}}
@media(max-width:1280px){.stats{top:107px;padding:11px 2px}.scene-label{top:184px}.office-caption{top:190px}.stat{min-width:98px;padding:0 14px}.stat:last-child{min-width:145px}.team-strip-card{right:19px;width:131px;padding:13px 7px 7px}.team-person{gap:0 7px}.team-person strong{font-size:10px}.team-person small{font-size:7px}.activity-card{left:105px;width:220px;bottom:72px}.command-column{width:360px;bottom:65px}.composer-launcher{gap:10px}.launcher-key{display:none}.scene-tools{right:19px;bottom:73px}.view:not(#view-office).active-view{right:170px;top:190px}.drawer-close{right:176px;top:202px}.integration-grid{grid-template-columns:1fr}.team-grid{grid-template-columns:repeat(2,1fr)}.scene-bottom{left:108px;font-size:7px}.office-footer-right{display:none}}
@media(max-width:1000px){.page-heading{left:101px}.team-strip-card{top:auto;right:23px;bottom:156px;transform:none;width:270px;padding:11px 12px}.team-strip{grid-template-columns:repeat(6,1fr);gap:5px}.team-person{display:flex;flex-direction:column;gap:5px;padding:4px 0}.team-person .agent-avatar{width:29px;height:29px}.team-person strong{font-size:9px}.team-person small{display:none}.team-strip-card .section-heading{margin-bottom:8px}.command-column{width:390px}.activity-card{width:200px}.scene-tools{bottom:78px;right:23px}.view:not(#view-office).active-view{right:25px;bottom:150px}.drawer-close{right:37px}.office-caption{display:none}.connection-indicator{display:none}.page-footer{left:auto;right:24px;transform:none}.task-card>span:first-child{display:none}}
@media(max-width:700px){.sidebar{width:0}.brand{top:max(19px,env(safe-area-inset-top));left:18px}.brand-mark{width:35px;height:35px;border-radius:10px;font-size:32px}.brand-mark>span{font-size:23px;margin-bottom:1px}.page-heading{left:67px;top:max(19px,env(safe-area-inset-top))}.eyebrow{font-size:6px;letter-spacing:1.2px}.page-heading h1{font-size:20px;margin:4px 0 0;letter-spacing:-.7px}#pageSubtitle{display:none}.mode-notice{top:26px;right:58px;font-size:8px;padding:7px 9px;gap:5px}.mode-notice svg{width:10px;height:10px}.mode-notice button{display:none}.topbar{top:23px;right:17px}.stats{top:82px;width:calc(100% - 32px);justify-content:space-between;padding:11px 0;border-radius:13px}.stat{padding:0 11px;min-width:0;gap:0;flex:1}.stat:last-child{min-width:0;flex:1.4}.stat-icon{display:none}.stat-label{font-size:8px;margin-bottom:6px;white-space:nowrap}.stat strong{font-size:17px}.stat .stat-text{font-size:8px;line-height:1.55;max-width:88px}.stat-link{right:6px;top:-1px;font-size:8px}.scene-label{top:151px;font-size:8px;padding:7px 10px;white-space:nowrap;max-width:calc(100% - 50px)}.scene-floor{font-size:6px;padding-left:8px}.nav-dock{top:auto;bottom:max(15px,env(safe-area-inset-bottom));left:16px;width:199px;display:flex;gap:3px;padding:5px;border-radius:16px}.nav-item{width:44px;height:42px;border-radius:10px;gap:3px}.nav-item svg{width:16px;height:16px}.nav-caption{font-size:7px}.nav-count{top:1px;right:2px;min-width:10px;padding:0 2px;font-size:6px}.profile{left:auto;right:17px;bottom:max(15px,env(safe-area-inset-bottom));width:46px;height:52px;border-radius:14px}.profile .avatar-user{width:28px;height:28px;font-size:9px}.scene-tools{right:72px;bottom:max(15px,env(safe-area-inset-bottom));padding:5px;border-radius:13px;height:52px;gap:0}.scene-tools #animationButton,.scene-tools .control-divider,.scene-tools #fullscreenButton{display:none}.scene-tools>button{min-width:25px;width:25px;height:29px;font-size:17px}.scene-tools #zoomReset{min-width:28px;font-size:8px;padding:0}.command-column{bottom:84px;width:calc(100% - 32px);max-width:430px}.composer-launcher{padding:11px;border-radius:14px;gap:10px}.composer-launcher strong{font-size:11px}.composer-launcher small{font-size:9px;margin-top:4px}.launcher-avatar{height:32px;width:32px;border-radius:8px}.launcher-avatar svg{width:26px;height:26px}.launcher-send{width:30px;height:30px;margin-left:auto}.command-card{width:calc(100vw - 32px);max-height:calc(100dvh - 180px);padding:18px;overflow:auto;border-radius:16px}.composer-heading h2{font-size:15px;line-height:1.6}.command-card textarea{min-height:105px;font-size:13px}.composer-actions>span{max-width:140px;font-size:8px;line-height:1.7}.suggestions{gap:5px}.suggestions button{font-size:8px;padding:9px 5px}.suggestions button svg{display:none}.team-strip-card{left:50%;right:auto;transform:translateX(-50%);bottom:164px;width:280px;padding:10px 10px 6px;border-radius:13px;background:linear-gradient(135deg,#202a34c9,#151d27e0)}.team-strip-card .section-heading{display:none}.team-strip{gap:7px}.team-person{gap:4px}.team-person .agent-avatar{height:28px;width:28px;border-radius:6px}.team-person .agent-avatar svg{height:25px;width:25px}.team-person strong{font-size:8px}.activity-card{top:191px;bottom:auto;left:16px;width:137px;border-radius:11px}.activity-toggle{padding:10px 11px}.activity-heading{font-size:9px;gap:6px}.activity-heading svg{width:12px;height:12px}.activity-heading .muted-label{font-size:6px;margin-left:0}.activity-card.activity-open{width:240px}.activity-list{max-height:155px;padding:0 12px 13px}.activity-time{font-size:7px}.activity-chevron{font-size:11px}.scene-bottom,.page-footer{display:none}.view:not(#view-office).active-view{left:15px;right:15px;top:150px;bottom:85px;padding:19px;border-radius:14px}.drawer-close{right:25px;top:161px;width:30px;height:30px}.list-heading{padding-right:25px;gap:8px;flex-wrap:wrap}.section-heading h2{font-size:11px}.section-heading h2>span{font-size:8px}.section-heading.list-heading{margin-bottom:19px;padding-top:8px}.secondary-button{font-size:10px;padding:9px}.task-card{padding:14px 11px;gap:10px}.task-card h3{font-size:11px;line-height:1.7}.task-card p{font-size:8px;line-height:1.8;margin-top:5px}.task-status{font-size:7px;padding:4px 5px}.team-grid{grid-template-columns:1fr 1fr;gap:10px;padding-top:30px}.agent-card{padding:16px 13px}.agent-card h3{font-size:15px}.agent-card p{font-size:10px;line-height:1.8}.agent-card .agent-avatar{width:42px;height:42px}.agent-card .agent-avatar svg{width:34px;height:34px}.info-box{font-size:10px;padding:13px}.integration-grid{gap:14px;padding-top:30px}.integration-card{padding:19px}.integration-card h2{font-size:19px}.integration-card>p{font-size:11px}.integration-status{top:24px;right:17px;font-size:8px;max-width:145px}.setup-steps>div{font-size:10px}.setup-steps code{font-size:8px}.provider-config{padding:13px}.provider-config>div{grid-template-columns:68px minmax(0,1fr);font-size:9px;gap:5px}.provider-config code{font-size:9px}dialog{padding:20px;max-height:calc(100dvh - 35px)}dialog h2{font-size:19px}.detail-output{font-size:11px;max-height:36vh}.detail-events{font-size:9px}.detail-meta{font-size:8px}#toast{bottom:241px;font-size:10px;padding:10px 14px;width:max-content;max-width:calc(100vw - 45px);line-height:1.7}body.composer-open .team-strip-card,body.composer-open .activity-card{visibility:hidden}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
[hidden]{display:none!important}
@media(max-width:700px){.nav-dock{width:180px}.nav-item{width:40px}.scene-tools>button{width:23px;min-width:23px}.scene-tools #zoomReset{min-width:26px;font-size:7px}}
@media(max-width:360px){.profile{display:none}.scene-tools{right:16px}.mode-notice{right:49px}.topbar{right:12px}.stat{padding:0 8px}}
@media(max-width:700px){.stat-label{font-size:9px}.stat .stat-text{font-size:9px}.nav-caption{font-size:8px}.team-person strong{font-size:9px}}

/* Team settings stay inside overlays so the office remains one viewport. */
.office-scene{background:radial-gradient(ellipse at 51% 56%,#283a38 0%,#17282d 36%,#101c25 68%,#0d1720 100%)}
.agent-avatar svg{image-rendering:auto}
.team-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-right:28px;margin-bottom:22px}
.team-toolbar h2{font-size:18px;color:#c6d8d4;margin:0 0 7px}
.team-toolbar p{font-size:11px;color:#8ca39f;margin:0;line-height:1.7}
.team-toolbar button{white-space:nowrap}
.agent-inactive .agent-avatar{filter:grayscale(.8);opacity:.55}
.agent-inactive .agent-avatar:after{background:#777e88}
.agent-model-label{display:block;border:1px solid #b4c9bf1c;background:#b5cbb707;border-radius:6px;color:#94afa8;padding:8px 10px;font:10px/1.5 ui-monospace,monospace;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.agent-configure{display:flex;align-items:center;justify-content:space-between;color:#b4ceb9;font-size:11px;margin-top:15px}
.agent-configure svg{width:14px;height:14px}
.agent-detail-heading{display:flex;gap:16px;align-items:center}
.agent-detail-heading h2{margin:0 0 3px}
.agent-setting-badge{margin-left:auto;font-size:10px;padding:6px 9px;border-radius:6px;color:#c1ccaf;background:#a8c99c12;white-space:nowrap}
.settings-form{display:grid;gap:9px;margin-top:22px}
.settings-form label{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#b5cdc9;font-size:12px;margin-top:11px}
.settings-form label>span:not(:first-child){color:#799590;font-size:10px}
.settings-form input:not([type=checkbox]),.settings-form textarea,.settings-form select{width:100%;min-width:0;background:#101f29;border:1px solid #a9c1b72b;border-radius:8px;color:#c6dcd9;padding:12px;font:12px/1.65 var(--font)}
.settings-form input::placeholder,.settings-form textarea::placeholder{color:#67838b}
.settings-form textarea{resize:vertical;min-height:100px;max-height:240px}
.settings-form select{color-scheme:dark;font-family:var(--font)}
.settings-form>small,.settings-switch small{color:#819e9e;font-size:10px;line-height:1.8}
.settings-input-row{display:flex;gap:8px;align-items:stretch}
.settings-input-row input{flex:1}
.settings-input-row button{font-size:11px}
.settings-form .settings-switch{border:1px solid #a6c4af22;border-radius:9px;background:#92b59108;padding:13px;margin:0 0 6px;gap:20px}
.settings-switch strong,.settings-switch small{display:block}
.settings-switch strong{font-size:12px;font-weight:500;margin-bottom:5px}
.settings-switch input{accent-color:#a4c8ad;width:19px;height:19px;flex-shrink:0}
.settings-scope{display:flex;gap:10px;align-items:flex-start;color:#8ca9a4;background:#91af9e08;border:1px solid #9fbaa418;border-radius:8px;padding:13px;margin-top:10px;font-size:10px;line-height:1.9}
.settings-scope svg{width:14px;height:14px;color:#a0bda2;margin-top:3px}
.settings-form .settings-error{font-size:11px;color:#dbac95;line-height:1.8;min-height:0;margin:0}
.settings-error:empty{display:none}
.settings-form .dialog-actions{margin:9px 0 0;flex-wrap:wrap}
.task-workflow,.task-artifacts,.task-tools{margin:22px 0;padding-top:18px;border-top:1px solid var(--line)}
.task-workflow h3,.task-artifacts h3{font-size:13px;font-weight:550;margin:0 0 13px}.task-artifacts h3 span{color:var(--muted);font-size:10px;margin-left:6px}
.task-workflow ol,.task-tools ol{padding:0;list-style:none;display:grid;gap:10px;margin:12px 0}
.task-workflow li,.task-tools li{padding:13px;border:1px solid var(--line);border-radius:9px;background:#8ba9a504;min-width:0}
.task-workflow li>div,.task-tools li>div{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:11px;flex-wrap:wrap}
.task-workflow li p,.task-tools li p,.task-artifacts>p{font-size:11px;line-height:1.8;color:#9cacb3;overflow-wrap:anywhere;margin:8px 0}
.task-workflow li small,.task-tools li>div>span{font-size:9px;color:#82978e}.task-workflow .step-error{color:#c7a3a3}.task-status.blocked{color:#c7a3a3;background:#b0766b18}
.task-workflow details{margin-top:12px}.task-workflow summary,.task-tools summary{font-size:11px;cursor:pointer;color:#a5bcb1}.task-workflow pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:10px;line-height:1.85;color:#abb9c1}
.artifact-link{display:flex;gap:10px;align-items:center;padding:12px;border:1px solid #a5cfb526;border-radius:9px;text-decoration:none;margin-top:9px;background:#a5cfb507}.artifact-link:hover{background:#a5cfb512}.artifact-link svg{width:16px;height:16px}.artifact-link span{min-width:0}.artifact-link strong{display:block;overflow-wrap:anywhere;font-size:11px;font-weight:500}.artifact-link small{display:block;color:var(--muted);font-size:9px;margin-top:4px}
.settings-roster{border:1px solid #acc2bb1b;border-radius:8px;padding:3px 13px;margin-top:10px}
.settings-roster>div{display:flex;justify-content:space-between;gap:12px;font-size:12px;padding:12px 0;border-bottom:1px solid #9cbaad12}
.settings-roster>div:last-child{border:0}
.settings-roster small{font-size:10px;color:#789891;margin-left:7px}
.settings-roster strong{font-size:10px;color:#a2b99e;font-weight:500}
.task-model-history{display:grid;gap:7px;margin:16px 0;font-size:10px;color:#87a4a0}
.task-model-history>span{color:#adc4b2;margin-bottom:3px}
.task-model-history>div{display:grid;grid-template-columns:50px minmax(0,1fr);gap:10px}
.task-model-history strong{font-weight:500}
.task-model-history code{overflow-wrap:anywhere;color:#8ca8b2}
@media(max-width:700px){
 .team-toolbar{padding:32px 0 0;align-items:flex-start;gap:10px;margin-bottom:19px}
 .team-toolbar h2{font-size:16px}
 .team-toolbar p{font-size:10px;max-width:150px}
 .team-toolbar button{font-size:9px;padding:10px 8px;gap:5px}
 .team-toolbar button svg{width:12px;height:12px}
 #teamGrid{padding-top:0}
 .agent-model-label{font-size:9px;padding:7px}
 .agent-configure{font-size:10px}
 .settings-form input:not([type=checkbox]),.settings-form textarea,.settings-form select{font-size:13px}
 .agent-detail-heading{gap:12px}
 .agent-detail-heading .agent-avatar{height:48px;width:48px}
 .agent-detail-heading .agent-avatar svg{height:40px;width:40px}
}

.task-status.waiting,.task-status.unknown{color:#e4c789;background:#b8944320}.task-status.stopping{color:#d6a08f;background:#bd796820}.hermes-control{margin:18px 0;padding:16px;border:1px solid #c6aa6550;border-radius:14px;background:#c6aa6509}.hermes-control pre{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--text)}.clarify-form textarea{width:100%;min-height:90px;box-sizing:border-box;background:#122029;color:#e1e8e4;border:1px solid #ffffff20;border-radius:10px;padding:12px;margin-bottom:10px}
