:root{--ink:#202d35;--muted:#637078;--line:#e2e7e6;--paper:#f4f6f3;--white:#fff;--green:#16674f;--mint:#e5f1ea;--orange:#a65a16;--red:#a93838;--navy:#162e33;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,a,textarea{touch-action:manipulation}button,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,textarea:focus-visible{outline:3px solid #338c79;outline-offset:3px}a{color:inherit}button{border:0}button[hidden],[hidden]{display:none!important}.topbar{height:78px;background:var(--navy);color:#f2f8f4;display:flex;align-items:center;justify-content:space-between;padding:0 32px;gap:24px}.wordmark{display:flex;gap:12px;align-items:center;text-decoration:none;font-size:18px;font-weight:750;letter-spacing:-.4px}.wordmark small{display:block;font-size:9px;letter-spacing:2px;color:#b3c9c4;margin-top:4px}.brand-icon{position:relative;display:grid;place-items:center;width:36px;height:38px;background:#cde7be;border-radius:10px;color:#173d32;font-size:28px}.brand-icon>span{position:absolute;right:3px;top:1px;font-size:16px}.top-status{display:flex;align-items:center;gap:14px;font-size:11px;color:#b6cac5}.connection{display:flex;align-items:center;gap:7px;color:#d4e1dc}.connection:before{content:"";width:7px;height:7px;border-radius:50%;background:#d4ad66}.connection.live:before{background:#94d7ae}.connection.offline:before{background:#f0a394}.map-link{font-size:12px;color:#d6e5df;text-decoration:none}.control-layout{display:grid;grid-template-columns:minmax(0,1fr) 420px;height:calc(100dvh - 78px)}.workroom{padding:30px 30px 0;display:flex;flex-direction:column;min-width:0;min-height:0}.workroom-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.eyebrow{font-size:9px;font-weight:750;letter-spacing:1.8px;color:var(--green);margin:0 0 10px}h1{font-size:clamp(25px,2.6vw,37px);letter-spacing:-1.4px;line-height:1.1;margin:0}h2{margin:0;font-size:16px;letter-spacing:-.3px}.subtitle{color:var(--muted);font-size:12px;line-height:1.6;margin:11px 0 0}.secondary,.primary{padding:10px 14px;font-size:11px;font-weight:650;border:1px solid #ccd6d0;border-radius:7px;white-space:nowrap;background:#fff;color:var(--ink)}.primary{background:var(--green);color:#fff;border-color:var(--green)}.metrics{display:grid;grid-template-columns:repeat(4,1fr);margin:26px 0 24px;padding:16px 0;background:#eaf0e9;border:1px solid #dfe6dd;border-radius:10px}.metrics>div{padding:0 20px;border-right:1px solid #d5dfd5}.metrics>div:last-child{border:0}.metrics strong{font-size:25px;letter-spacing:-1px;font-weight:650;display:block;margin-bottom:4px}.metrics span{font-size:10px;color:var(--muted)}.workspace-scroll{overflow:auto;min-height:0;scrollbar-width:thin;padding:0 2px 24px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 13px}.section-heading h2{font-size:12px;font-weight:750}.section-heading>span{font-size:10px;color:var(--muted);text-align:right}.bot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.bot-card{display:block;text-align:left;min-width:0;width:100%;padding:15px;background:white;border:1px solid var(--line);border-radius:10px;color:var(--ink);transition:border-color .15s,box-shadow .15s}.bot-card:hover{border-color:#a4bcae;box-shadow:0 3px 12px #223e2810}.bot-top{display:flex;align-items:flex-start;gap:10px}.bot-avatar,.message-avatar,.expert-avatar{display:grid;place-items:center;flex:none;background:#e8ede6;color:#395b45;border-radius:9px;font-size:10px;font-weight:750;width:32px;height:32px}.bot-identity{flex:1;min-width:0}.bot-name{font-size:12px;font-weight:750;display:block;line-height:1.4}.bot-role{font-size:10px;line-height:1.4;color:var(--muted);display:block;margin-top:3px}.status-pill{display:inline-flex;align-items:center;gap:4px;border-radius:20px;padding:4px 7px;font-size:9px;font-weight:650;line-height:1.2;background:#eff2f0;color:#586960;white-space:nowrap}.status-pill.working,.status-pill.running,.status-pill.thinking{background:#e4f1eb;color:#176449}.status-pill.blocked,.status-pill.error,.status-pill.failed{background:#fae9e5;color:#a13e30}.status-pill.waiting,.status-pill.queued{background:#fcf2dc;color:#805d1a}.status-pill.paused{background:#eeeaf7;color:#655680}.bot-summary{font-size:11px;line-height:1.65;color:#4d5b61;margin:12px 0 10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:36px;overflow-wrap:anywhere}.bot-bottom{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#74817b;border-top:1px solid #eef1ec;padding-top:10px}.bot-bottom>span:last-child{color:#476252}.workroom-footer{display:flex;justify-content:space-between;gap:10px;font-size:9px;color:var(--muted);padding:12px 0;border-top:1px solid var(--line)}.expert-room{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fff;border-left:1px solid var(--line)}.expert-header{padding:27px 24px 19px;border-bottom:1px solid var(--line)}.expert-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.expert-header h2{font-size:21px;letter-spacing:-.7px}.ai-badge{vertical-align:middle;background:#e8eeff;color:#4e61a1;font-size:9px;letter-spacing:.5px;padding:4px 5px;border-radius:4px;margin-left:5px}.icon-button{background:#f3f5f2;border:1px solid var(--line);border-radius:7px;color:#4b5b52;font-size:10px;padding:8px 10px}.expert-disclosure{font-size:10px;line-height:1.6;color:var(--muted);max-width:340px;margin:11px 0 15px}.expert-roster{display:flex;flex-wrap:wrap;gap:8px}.expert-person{display:flex;align-items:center;gap:5px;font-size:9px;color:#59665f;background:#f5f7f3;padding:4px 7px 4px 4px;border-radius:25px}.expert-avatar{width:21px;height:21px;border-radius:50%;font-size:8px;background:#e2eada}.expert-person:nth-child(2) .expert-avatar{background:#f1e6d3;color:#846740}.expert-person:nth-child(3) .expert-avatar{background:#e7e4f4;color:#706191}.expert-person:nth-child(4) .expert-avatar{background:#dfeaec;color:#4c7880}.expert-chat-wrap{flex:1;position:relative;min-height:0;display:flex}.expert-messages{flex:1;overflow:auto;padding:24px 20px 14px;scrollbar-width:thin;overscroll-behavior:contain}.chat-welcome{height:100%;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--muted);padding:20px}.chat-welcome>span{font-size:35px;color:#9caf90;margin-bottom:18px}.chat-welcome h3{font-size:16px;color:#334f41;margin:0 0 9px}.chat-welcome p{font-size:12px;line-height:1.8;margin:0;max-width:260px}.message{display:flex;gap:9px;align-items:flex-start;margin-bottom:20px;min-width:0}.message-main{max-width:calc(100% - 36px);min-width:0}.message-avatar{width:27px;height:27px;border-radius:50%;font-size:9px;margin-top:3px}.message-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:9px;margin:0 0 6px;color:#8a938f}.message-meta strong{font-size:10px;color:#3b4b41}.message-bubble{background:#f1f4ef;border-radius:0 11px 11px 11px;padding:11px 13px;font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;color:#35443d}.message.user{flex-direction:row-reverse}.message.user .message-main{display:flex;flex-direction:column;align-items:flex-end}.message.user .message-meta{justify-content:flex-end}.message.user .message-bubble{background:#1b674f;color:#fff;border-radius:11px 0 11px 11px}.message.user .message-avatar{background:#173f32;color:#e4efdf}.message.handoff .message-bubble{border-left:3px solid #b89b67}.message.status .message-bubble{font-size:11px;background:#f7f8f6;color:#69736b}.message-reply{font-size:10px;border-left:2px solid #c6cfc7;padding-left:8px;margin-bottom:7px;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}.typing{min-height:22px;font-size:10px;color:#5e7567;padding:0 23px 7px}.typing:not(:empty):before{content:"● ● ●";font-size:6px;letter-spacing:2px;margin-right:8px;color:#799a86}.expert-composer{padding:12px 20px 14px;border-top:1px solid #edf0eb}.composer-box{display:flex;align-items:flex-end;gap:9px;padding:11px;background:#f5f7f3;border:1px solid #dfe6dd;border-radius:12px}textarea{display:block;width:100%;resize:none;background:transparent;border:0;outline:none;line-height:1.5;font-size:12px;color:var(--ink);max-height:150px}.composer-box textarea{min-height:38px;padding:0 2px}.send-button{display:grid;place-items:center;flex:none;width:33px;height:33px;background:#1b674f;color:#fff;border-radius:9px;font-size:21px;line-height:1}.composer-footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;align-items:center;margin-top:9px;font-size:8px;color:#859087}.text-button{font-size:9px;color:#436e57;background:transparent;padding:3px 0}.form-status{font-size:10px;line-height:1.5;color:var(--muted);margin:5px 0 0;min-height:0;overflow-wrap:anywhere}.form-status.error{color:var(--red)}.jump-button{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);border:1px solid #c1d2c4;border-radius:20px;background:#fff;color:#285b43;box-shadow:0 3px 10px #153c2220;font-size:10px;padding:8px 13px;white-space:nowrap}.team-conversation{margin-top:26px}.message-wrap{position:relative}.team-messages{height:250px;overflow:auto;border:1px solid var(--line);border-radius:10px 10px 0 0;background:#fff;padding:16px;overscroll-behavior:contain}.team-messages .message{margin-bottom:15px}.team-form{display:flex;gap:10px;align-items:center;padding:10px;background:#fff;border:1px solid var(--line);border-top:0;border-radius:0 0 10px 10px}.team-form textarea{padding:5px;min-height:28px}.team-form .send-button{width:29px;height:29px;font-size:18px}.activity-section{margin-top:25px}.activity-list{padding:0;margin:0;list-style:none}.activity-item{display:grid;grid-template-columns:7px minmax(0,1fr) auto;gap:10px;padding:10px 0;border-bottom:1px solid #e4e9e2;font-size:10px;line-height:1.5}.activity-dot{width:6px;height:6px;border-radius:50%;background:#91ab92;margin-top:5px}.activity-item strong{color:#405446;margin-right:5px}.activity-item time{font-size:9px;white-space:nowrap;color:#7d8881}.empty-state{font-size:12px;line-height:1.7;color:var(--muted);margin:0;padding:22px;grid-column:1/-1}.global-error{padding:10px 24px;background:#fff0d9;color:#7e471a;display:flex;justify-content:space-between;gap:12px;font-size:12px;line-height:1.5}.global-error button{border:1px solid #d4b07b;border-radius:4px;padding:5px 10px;background:#fff8ec;color:inherit;flex:none}.global-error:not([hidden])~.control-layout{height:calc(100dvh - 128px)}.muted{font-size:11px;color:var(--muted)}.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}dialog{width:min(620px,calc(100vw - 32px));max-height:85dvh;padding:27px;border:1px solid var(--line);border-radius:15px;color:var(--ink);box-shadow:0 25px 100px #102d3340}dialog::backdrop{background:#10262c80;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;gap:15px}.dialog-heading h2{font-size:24px}.detail-meta{display:flex;align-items:center;gap:12px;margin:17px 0;color:var(--muted);font-size:10px}dialog h3{font-size:11px;letter-spacing:.5px;text-transform:uppercase;margin:23px 0 8px}.detail-content,dialog pre{font-family:inherit;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;margin:0}dialog pre{background:#f4f6f1;border-radius:8px;padding:14px;max-height:270px;overflow:auto}.dialog-controls{display:flex;gap:10px;margin-top:22px}.mobile-switch{display:none}@media(min-width:1650px){.control-layout{grid-template-columns:minmax(0,1fr) 470px}.workroom{padding:34px 42px 0}.bot-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.expert-header{padding:30px}.expert-messages{padding:28px}}@media(max-width:1120px){.control-layout{grid-template-columns:minmax(0,1fr) 375px}.workroom{padding:23px 20px 0}.workroom-heading{align-items:flex-start}.workroom-heading .secondary{font-size:10px;padding:8px}.metrics>div{padding:0 13px}.bot-grid{grid-template-columns:1fr}.topbar{padding:0 23px}.top-status #freshness{display:none}.expert-header{padding:24px 20px 18px}}@media(max-width:780px){.topbar{height:65px;padding:0 17px;gap:10px}.wordmark{font-size:15px}.wordmark small{font-size:8px}.brand-icon{width:31px;height:33px}.top-status{font-size:10px}.map-link{font-size:10px}.mobile-switch{display:flex;gap:4px;padding:9px 16px;background:#fff;border-bottom:1px solid var(--line)}.mobile-switch button{flex:1;padding:10px;background:#f2f5f0;color:#596a5c;border-radius:7px;font-size:12px;font-weight:650}.mobile-switch button[aria-pressed=true]{background:#dfece1;color:#23553d}.mobile-switch span{font-size:9px;margin-left:4px}.control-layout{height:calc(100dvh - 119px);display:block}.workroom{height:100%;padding:21px 17px 0}.workroom-heading h1{font-size:28px}.workroom-heading .subtitle{max-width:230px;font-size:11px}.metrics{margin:20px 0}.metrics>div{padding:0 12px}.metrics strong{font-size:22px}.metrics span{font-size:9px}.expert-room{height:100%;border-left:0;display:none}.show-experts .expert-room{display:flex}.show-experts .workroom{display:none}.expert-header{padding:17px 20px 13px}.expert-header .eyebrow{margin-bottom:6px}.expert-disclosure{max-width:none;margin:8px 0 10px;font-size:9px}.expert-header h2{font-size:20px}.expert-roster{gap:5px}.expert-person{font-size:8px}.expert-messages{padding-top:18px}.expert-composer{padding-bottom:max(12px,env(safe-area-inset-bottom))}.global-error{padding:9px 15px;font-size:10px}.global-error:not([hidden])~.control-layout{height:calc(100dvh - 175px)}.bot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bot-top{flex-wrap:wrap}.bot-identity{min-width:70px}.bot-top .status-pill{margin-left:42px}.bot-card{padding:12px}.bot-name{font-size:11px}.bot-role{font-size:9px}.bot-summary{font-size:10px}.bot-bottom{font-size:8px}.section-heading>span{font-size:9px}}@media(max-width:440px){.bot-grid{grid-template-columns:1fr}.bot-top{flex-wrap:nowrap}.bot-top .status-pill{margin-left:0}.bot-name{font-size:12px}.bot-role,.bot-summary{font-size:10px}.bot-summary{min-height:0}.composer-footer>span{font-size:8px}.topbar .map-link{max-width:44px}.metrics>div{padding:0 10px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.session-picker{display:flex;flex-direction:column;gap:4px;margin-right:auto;min-width:130px;max-width:300px}.session-picker label{font-size:8px;letter-spacing:1.5px;color:#a3bfb3}.session-picker select{width:100%;border:1px solid #476157;background:#243e3c;border-radius:5px;color:#f1f8f2;font:inherit;font-size:11px;padding:6px 9px;outline-offset:3px}.narrative-section{margin-bottom:23px}.narrative{border-left:3px solid #b1c9a9;padding:0 0 0 14px;max-height:240px;overflow:auto;scrollbar-width:thin}.narrative-entry{padding:0 0 13px;margin:0 0 10px;border-bottom:1px solid #e0e7dd}.narrative-entry:last-child{border:0;margin:0;padding-bottom:0}.narrative-entry p{font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 7px}.narrative-entry time{font-size:9px;color:var(--muted)}.narrative .empty-state{padding:4px 0}.add-bot-form{margin-top:20px}.add-bot-form label{display:block;font-size:11px;font-weight:650;margin:17px 0 7px}.add-bot-form input,.add-bot-form textarea{display:block;background:#f5f7f2;border:1px solid #d9e1d4;border-radius:7px;width:100%;padding:11px;font:inherit;font-size:12px}.add-bot-form input:focus-visible{outline:3px solid #338c79;outline-offset:3px}.add-bot-form button[type=submit]{margin-top:8px}.danger{color:#a23e36!important;margin-left:auto}.dialog-controls{align-items:center;flex-wrap:wrap}@media(max-width:1120px){.topbar{gap:16px}.session-picker{max-width:220px}.top-status{margin-left:auto}}@media(max-width:780px){.topbar{height:106px;flex-wrap:wrap;align-content:center;row-gap:9px}.session-picker{order:4;flex-direction:row;align-items:center;max-width:none;width:100%;gap:9px}.session-picker select{max-width:100%;padding:5px 8px}.session-picker label{font-size:7px}.top-status{margin-left:auto}.control-layout{height:calc(100dvh - 160px)}.global-error:not([hidden])~.control-layout{height:calc(100dvh - 216px)}.narrative{max-height:180px}.narrative-entry p{font-size:11px}.topbar .map-link{max-width:none}}
.team-target{display:flex;align-items:center;gap:9px;margin-bottom:8px}.team-target label{font-size:8px;letter-spacing:1px;color:var(--muted)}.team-target select{max-width:calc(100% - 60px);font:inherit;font-size:10px;padding:5px 8px;border:1px solid #dce4d8;border-radius:5px;background:#fff;color:#465e4d}.prompt-history{font-size:11px;color:#5b7160;margin-bottom:14px}.prompt-history summary{cursor:pointer;font-weight:650;padding:5px 0}.prompt-history>div{max-height:240px;overflow:auto;background:#edf1e9;border-radius:7px;margin-top:7px;padding:13px}.prompt-history p{font-size:11px}.prompt-history .empty-state{padding:0}
/* Keep the two independently scrollable rooms inside the actual viewport. */
body{height:100dvh;display:flex;flex-direction:column;overflow:hidden}.topbar,.mobile-switch,.global-error{flex-shrink:0}.control-layout{flex:1;min-height:0;height:auto!important}.section-heading h2 .muted{margin-left:6px}
.workroom-heading>div{min-width:0}.workroom-heading h1{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
html{height:100%;overflow:hidden}body{position:relative}.workspace-scroll,.expert-composer,.team-form{position:relative}

.checklist-section{margin-bottom:24px}.session-todos{list-style:none;margin:0;padding:0}.session-todos .session-todos{margin-left:20px}.todo-line{display:flex;align-items:baseline;gap:10px;padding:7px 0;font-size:13px;line-height:1.5}.todo-line>span:nth-child(2){flex:1}.todo-line small{color:var(--muted,#607672);text-transform:capitalize}.todo-mark{color:#22785d;min-width:14px}.session-todo.done>.todo-line{color:#607672}.session-todo.doing>.todo-line{font-weight:650}.session-todo.blocked>.todo-line .todo-mark{color:#b26320}
