:root{--accent:#83c9ff;--accepted:#6adcb1;--review:#ffd17f;--blocked:#ff817e;--muted:#b7c8df;--border:#48617f;--surface:#101725}
.mission-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr));gap:1rem;padding:1rem 0;background:none;border:0}.mission-metric{display:flex;flex-direction:column;gap:.75rem;padding:1rem;border:1px solid var(--border);border-radius:.75rem;background:var(--surface);min-width:0;overflow-wrap:anywhere}.mission-metric span{font-size:.8rem;color:var(--muted)}.mission-metric strong{font-size:1.6rem;color:var(--accent)}.agent-group{border:1px solid var(--border);border-radius:.75rem;padding:1rem;min-width:0;overflow-wrap:anywhere}.agent-group>h5{margin:0;font-size:1.1rem}.agent-group .agent-fiche{margin:.75rem 0}.event>span{display:block;color:var(--muted);font-size:.8rem;margin-top:.5rem}
.idea-card{border-left:3px solid var(--accent);padding:1rem;margin:1rem 0;background:var(--surface);min-width:0;overflow-wrap:anywhere}.idea-card h3{margin-top:0}.idea-card code{font-size:.75rem}.idea-card textarea,#idea-text{width:100%;box-sizing:border-box;min-height:6rem}.idea-card button{max-width:100%;overflow-wrap:anywhere}
button:disabled{opacity:.65;cursor:default}button:focus-visible,summary:focus-visible,.graph-canvas:focus-visible{outline:3px solid var(--review);outline-offset:4px}
.graph-canvas{overflow-x:auto;margin:1.25rem 0;border:1px solid var(--border);background:var(--surface);border-radius:.5rem}
.phase-graph{display:block;width:100%;min-width:1250px;height:auto}.phase-edge{stroke:var(--border);stroke-width:2}.dependency-edge{fill:none;stroke:var(--review);stroke-width:2;stroke-dasharray:4 3}
.phase-node circle{stroke:var(--border);stroke-width:2;fill:var(--surface)}.phase-node.accepted circle{fill:var(--accepted);stroke:var(--accepted)}.phase-node.current circle{fill:var(--accent)}.phase-node.review circle{fill:var(--review)}.phase-node.blocked circle{fill:var(--blocked)}
.phase-label{fill:var(--muted);font-size:11px}.task-label{fill:var(--accent);font-size:13px;font-weight:700}.state-label{fill:var(--muted);font-size:10px;text-anchor:middle}
progress{width:100%;height:.75rem;accent-color:var(--accepted)}.legend{color:var(--muted);font-size:.8rem}.agent-runs{margin-top:1rem;padding:1rem;background:var(--surface);border-radius:.5rem}.agent-runs p{overflow-wrap:anywhere;font-size:.8rem}summary{cursor:pointer;color:var(--accent);padding:.5rem 0}h4{margin:0 0 .75rem}header h1{letter-spacing:-.03em}header .logo{font-size:2rem}pre{max-height:22rem;overflow:auto}.task{flex:1;min-width:0}main{max-width:1440px}#events{max-height:600px;overflow:auto}
@media(max-width:750px){main{padding:0 1rem}section{padding:1rem}header{padding:1rem}.graph{display:block}.task{max-width:none;margin-bottom:.75rem}.agent-runs{padding:.75rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.project-toolbar{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:1rem}.project-toolbar label{margin:0}.operation{border-left:4px solid var(--accent);padding:.75rem 1rem;background:var(--surface);margin-bottom:1rem}.operation.blocked{border-color:var(--blocked)}.operation.complete{border-color:var(--accepted)}.operation.pending{border-color:var(--review)}.operation p{margin:.5rem 0 0;color:var(--muted)}.empty-state{padding:1rem;border:1px dashed var(--border)}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--review);outline-offset:2px}button,input,select{min-height:44px}#project-count{color:var(--muted)}
@media(max-width:750px){.project-toolbar{grid-template-columns:1fr}.operation{padding:.75rem}header h1{font-size:1.25rem}}
.agent-roster{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,19rem),1fr));gap:1rem}.agent-fiche{border:1px solid var(--border);padding:1rem;border-radius:.5rem;min-width:0}.agent-fiche h5{font-size:1rem;margin:0}.agent-role{color:var(--accent)}.agent-fiche dl{display:grid;grid-template-columns:1fr 1.5fr;gap:.5rem;margin:1rem 0;font-size:.8rem}.agent-fiche dt{color:var(--muted)}.agent-fiche dd{margin:0;overflow-wrap:anywhere}.agent-fiche details{border-top:1px solid var(--border)}
.plan-questions{margin:1rem 0;padding:1rem;background:var(--surface);border:1px solid var(--border)}.plan-question{border-left:3px solid var(--review);padding:.75rem 1rem;margin:.75rem 0;overflow-wrap:anywhere}.plan-question small{color:var(--muted)}.plan-question textarea{min-height:6rem;width:100%;box-sizing:border-box}
.corrections-panel{padding:1rem;background:var(--surface);border:1px solid var(--border);margin-top:1rem}.correction-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,20rem),1fr));gap:1rem;padding:0;list-style-position:inside}.correction-item{border-left:3px solid var(--review);padding:1rem;min-width:0;overflow-wrap:anywhere}.correction-item.rejected{border-color:var(--blocked)}.correction-item.applied{border-color:var(--accent)}.correction-item p{font-size:.875rem}.correction-item code{display:block;overflow-wrap:anywhere;white-space:normal}.correction-question{border-top:1px solid var(--border);padding-top:.75rem}
.project-workbench{display:grid;grid-template-columns:minmax(0,15rem) minmax(0,1fr);gap:1rem;align-items:start}#project-index{display:flex;flex-direction:column;gap:.5rem;min-width:0}.project-choice{display:flex;flex-direction:column;gap:.5rem;text-align:left;padding:1rem;background:var(--surface);color:var(--muted);border:1px solid var(--border);overflow-wrap:anywhere}.project-choice strong{color:var(--accent)}.project-choice small{font-size:.75rem}.project-choice[aria-current=true]{border-left:4px solid var(--accent)}#projects{min-width:0}
@media(max-width:1024px){.project-workbench{grid-template-columns:1fr}#project-index{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr))}}
