:root{font:14px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#293548;background:#f5f7fa;--blue:#416fbb;--muted:#7a8595;--line:#e5eaf1;--radius:16px}
.plan-tools{display:flex;align-items:center;gap:14px}#plan-toggle{display:none}.card{min-height:0}
*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit}a{color:var(--blue);text-decoration:none}button{cursor:pointer}button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:2px solid #416fbb;outline-offset:3px}button[hidden],[hidden]{display:none!important}
.workspace{max-width:1760px;height:100vh;height:100dvh;margin:auto;padding:0 24px 22px;display:flex;flex-direction:column;gap:16px;min-height:0}.page-header{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:68px;flex:none}.brand{font-size:23px;letter-spacing:-.7px;font-weight:700;display:flex;gap:17px;align-items:baseline}.brand span{font-size:14px;font-weight:400;letter-spacing:0;color:var(--muted)}.connection{font-size:12px;color:var(--muted);text-align:right}.overview{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:16px;flex:none;max-height:286px}.card,.pane{background:#fff;border:1px solid var(--line);border-radius:var(--radius);min-width:0}.card{padding:19px 22px;overflow:auto}.section-heading,.pane-heading,.actor-heading,.current-meta,.exchange-footer,.message-heading,.event-meta,.pane-tools{display:flex;align-items:center;gap:10px}.section-heading{justify-content:space-between;margin-bottom:11px}h1,h2{font-size:16px;line-height:1.4;margin:0;font-weight:650}h3{font-size:14px;margin:0 0 7px}.muted{color:var(--muted);font-size:12px}.badge{font-size:11px;font-weight:500;border-radius:20px;background:#edf2fa;color:#416fbb;padding:4px 10px;white-space:nowrap}.badge.running{background:#edf2fa;color:#416fbb}.badge.complete,.badge.verified,.badge.done{background:#e9f4ed;color:#35734d}.badge.paused,.badge.blocked,.badge.unknown,.badge.stale,.badge.error,.badge.changes_requested{background:#fff3df;color:#92620b}.badge.pending,.badge.held{background:#f1f3f6;color:#748092}.current-summary{font-size:14px;line-height:1.5;margin:0 0 12px;overflow-wrap:anywhere}.actors{display:grid;grid-template-columns:1fr 1fr;gap:18px;border-top:1px solid #eef1f5;padding-top:12px;margin-top:12px}.actor{min-width:0}.actor-heading{gap:8px;flex-wrap:wrap;line-height:1.4}.actor-heading strong{font-size:13px}.actor-heading span{font-size:11px;color:var(--muted)}.actor p{font-size:12px;margin:5px 0 0;color:#6b798c;overflow-wrap:anywhere}.current-meta{font-size:11px;color:var(--muted);justify-content:space-between;flex-wrap:wrap;margin-top:11px}.active-tasks:empty{display:none}.active-task{font-size:12px;padding:6px 0;border-top:1px solid #eef1f5;display:flex;justify-content:space-between;gap:10px}.active-task strong{font-weight:500;overflow-wrap:anywhere}.active-task .badge{align-self:flex-start}
ol,ul{margin:0;padding:0;list-style:none}.plan-list{display:grid;gap:7px}.plan-list li{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.45}.step-mark{flex:0 0 18px;height:18px;border-radius:50%;background:#f1f3f6;color:#8b96a6;display:grid;place-items:center;font-size:10px;margin-top:0}.step-mark.done{background:#e9f4ed;color:#35734d}.step-mark.running{background:#edf2fa;color:#416fbb}.plan-list li[data-state=done] .step-title{color:#839083}.queue-details{margin-top:12px;padding-top:9px;border-top:1px solid #eef1f5;font-size:12px}.queue-details summary,#review-questions summary{cursor:pointer;color:#66758a}.queue-list{margin-top:8px}.queue-list li{padding:8px 0;border-top:1px solid #f0f2f5;display:flex;gap:10px;justify-content:space-between;align-items:flex-start}.queue-list .badge{flex:none}.queue-list strong{font-size:12px;font-weight:400;overflow-wrap:anywhere}
.split{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:16px;min-height:0;flex:1}.pane{display:flex;flex-direction:column;overflow:hidden}.pane-heading{padding:17px 22px;min-height:60px;border-bottom:1px solid var(--line);flex:none;justify-content:space-between}.pane-tools{gap:16px;justify-content:flex-end}.pane-scroll{overflow:auto;overscroll-behavior:contain;min-height:0;flex:1;padding:0 22px;scrollbar-width:thin;scrollbar-color:#d5dce7 transparent}.events .event{padding:17px 0;border-bottom:1px solid #eef1f5;overflow-wrap:anywhere}.events .event:last-child{border:0}.event-meta{margin-bottom:6px;gap:9px;flex-wrap:wrap;font-size:11px;color:var(--muted)}.event-author{color:#65758e;font-weight:550}.event-author.codex{color:#416fbb}.event-author.gemini{color:#477d75}.event .event-title{font-size:13px;font-weight:550;margin:0}.event-detail{font-size:12px;margin:5px 0 0;color:#768397;white-space:pre-wrap}.text-button{border:0;background:none;padding:2px 0;color:var(--blue);font-size:12px;white-space:nowrap}.topic{padding:18px 0 16px;border-bottom:1px solid #eef1f5}.topic>p{font-size:12px;color:#768397;margin:0 0 9px}.topic details{font-size:12px}.topic ul{list-style:disc;padding-left:18px;margin-top:9px}.topic li{padding:3px 0;color:#748196}.messages{padding-top:17px;display:grid;gap:15px;padding-bottom:17px}.message{border:1px solid #e7ecf4;background:#fafbfd;border-radius:12px;padding:13px 15px;min-width:0}.message.gemini{background:#f6faf9;border-color:#e0ece8}.message.owner{background:#fff;border-color:#e4e8ef}.message-heading{flex-wrap:wrap;gap:5px 10px;font-size:11px;color:var(--muted)}.message-heading strong{font-size:12px;color:#526580}.message.gemini .message-heading strong{color:#477d75}.message-heading time{margin-left:auto;font-size:10px}.message-body{font-size:13px;line-height:1.6;margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.message-source{display:inline-block;font-size:11px;margin-top:9px}.empty{font-size:12px;color:#8390a2;padding:22px 0;margin:0}.decisions{padding:16px 0;border-top:1px solid #eef1f5}.decisions p{font-size:13px;margin:8px 0;white-space:pre-wrap}.exchange-footer{flex:none;justify-content:space-between;flex-wrap:wrap;padding:10px 22px;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}.exchange-footer a{font-size:11px}.mobile-tabs{display:none}
@media(min-width:821px) and (max-height:720px){.workspace{gap:12px;padding-bottom:14px}.page-header{min-height:54px}.overview{max-height:235px}.card{padding:15px 19px}.actors{padding-top:9px;margin-top:9px}.current-meta{margin-top:8px}.pane-heading{padding:13px 19px;min-height:52px}}
@media(max-width:1050px){.workspace{padding-left:16px;padding-right:16px;gap:12px}.overview,.split{gap:12px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.card{padding:17px}.actors{gap:10px}.actor-heading{display:block}.actor-heading span{display:block;margin-top:2px}.pane-heading{padding-left:17px;padding-right:17px}.pane-scroll{padding:0 17px}}
@media(max-width:820px){.workspace{padding:0 12px 12px;gap:10px}.page-header{min-height:58px;gap:12px}.brand{font-size:21px;gap:10px}.brand span{font-size:12px}.connection{max-width:165px;font-size:10px}.overview{grid-template-columns:minmax(0,1fr);max-height:38vh;gap:8px;overflow:auto;flex:none}.card{padding:14px 16px;overflow:visible}.section-heading{margin-bottom:8px}h1,h2{font-size:14px}.current-summary{font-size:12px;margin-bottom:8px}.actors{margin-top:9px;padding-top:9px}.actor-heading{display:block}.actor p{font-size:11px}.current-meta{font-size:10px;margin-top:8px}.plan-list{gap:5px}.plan-list li{font-size:11px}.mobile-tabs{display:flex;flex:none;gap:4px;border:1px solid var(--line);border-radius:11px;padding:3px;background:#edf0f5}.mobile-tabs button{flex:1;border:0;border-radius:8px;background:none;font-size:12px;color:#7b8799;padding:8px 10px}.mobile-tabs button[aria-selected=true]{background:white;color:#416fbb;box-shadow:0 1px 3px #2a3d6020}.split{display:flex;min-height:0}.pane{flex:1;min-width:0}html[data-pane=log] #exchange-pane,html[data-pane=exchange] #log-pane{display:none}.pane-heading{padding:12px 16px;min-height:49px}.pane-scroll{padding:0 16px}.pane-heading .badge{font-size:10px}.event .event-title{font-size:12px}.event-detail{font-size:11px}.message{padding:11px 12px}.message-body{font-size:12px}.message-heading time{margin-left:0}.exchange-footer{padding:9px 16px}.events .event{padding:14px 0}}
@media(max-width:820px){.overview{max-height:56vh;scrollbar-width:thin}.plan .section-heading{margin-bottom:0}#plan-toggle{display:inline-block}html:not([data-plan-open=true]) .plan-body{display:none}.plan-body{margin-top:12px}}

/* Owner view: bounded overview, equal feeds and concise messages. */
.overview{max-height:244px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.split{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.current-summary{font-size:17px;font-weight:550;line-height:1.4}
.actors{gap:20px}.actor p{line-height:1.5}
.provider-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 20px;padding:13px 20px 10px;border:1px solid var(--line);border-radius:14px;background:#fff;flex:none}
.provider-strip>div{display:grid;grid-template-columns:1fr auto;column-gap:10px;align-items:center}
.metric-label{font-size:12px;font-weight:550;color:#526580}
.provider-strip strong{font-size:25px;line-height:1.2;color:#293e5c;grid-column:2;grid-row:1 / 3}
.metric-caption{font-size:11px;color:var(--muted)}
.provider-strip>p{font-size:10px;color:var(--muted);grid-column:1 / -1;margin:4px 0 0}
.pane-heading{padding-top:13px;padding-bottom:13px;min-height:52px}
.topic{padding:12px 0}.topic h3{display:none}.topic>p{font-size:11px;margin:0}
#review-questions{margin-top:8px} .message-body{font-size:13px;line-height:1.5;white-space:normal}
.message-question{font-size:12px;line-height:1.5;color:#526580;margin:9px 0 4px}
.summary-label{font-size:10px;color:var(--muted);display:block;margin-top:9px}
.record-details{margin-top:8px;font-size:11px;color:#718198}
.record-details summary{cursor:pointer;display:list-item;list-style:disclosure-closed inside}
.record-details[open] summary{list-style-type:disclosure-open}
.record-full{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.55;color:#526177}
.event-detail{line-height:1.5;white-space:normal}
.event-meta time{margin-left:auto}.messages{gap:12px;padding-top:12px}
.message-heading time{margin-left:auto}
.plan-tools{flex:none}#plan-toggle{display:inline-block}.plan-body{margin-top:10px}
html:not([data-plan-open=true]) .plan-list li:nth-child(n+5){display:none}
html:not([data-plan-open=true]) .queue-details{display:none}
.plan .section-heading{margin-bottom:0}
@media(max-width:820px){
 .workspace{height:auto;min-height:100dvh;padding-bottom:12px}
 .overview{max-height:none;overflow:visible;grid-template-columns:1fr}
 .current-summary{font-size:16px}
 .provider-strip{padding:12px;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}
 .provider-strip>div{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
 .provider-strip strong{font-size:23px;order:1}.metric-caption{order:2;font-size:10px}
 .metric-label{font-size:11px}.provider-strip>p{font-size:10px;margin:0}
 .split{height:65dvh;min-height:380px;flex:none}
 html:not([data-plan-open=true]) .plan-body{display:none}
 .pane-heading h2{font-size:14px}.pane-tools{gap:8px}
 .pane-heading .badge{max-width:120px;white-space:normal}
}
@media(min-width:821px) and (max-height:760px){.overview{max-height:205px}.card{padding:13px 18px}.actors{padding-top:8px;margin-top:8px}.current-summary{font-size:15px}.provider-strip{padding:9px 18px}.provider-strip strong{font-size:22px}.workspace{gap:10px}.page-header{min-height:52px}}

.provider-strip>p:empty{display:none}
