#yap-coding-task-progress[hidden]{display:none!important}
#yap-coding-task-progress{width:min(100%,960px);box-sizing:border-box;margin:4px auto 10px;padding:10px 13px;
 background:var(--panel,#182235);color:var(--fg,#f4faf8);border:1px solid var(--border,#334155);
 border-radius:12px;font:12px/1.4 system-ui,sans-serif}
#yap-coding-task-progress .ycto-heading{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:8px}
#yap-coding-task-progress .ycto-heading strong{font-size:13px;font-weight:650}
#yap-coding-task-progress .ycto-heading small{opacity:.82}
#yap-coding-task-progress .ycto-timeline{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;list-style:none;padding:0;margin:0}
#yap-coding-task-progress .ycto-timeline li{display:flex;align-items:center;gap:5px;min-width:0;opacity:.54;font-size:11px}
#yap-coding-task-progress .ycto-timeline li span:first-child{width:18px;height:18px;flex:none;display:grid;place-items:center;
 border-radius:50%;border:1px solid currentColor;font-weight:650}
#yap-coding-task-progress .ycto-timeline li[data-state="running"],
#yap-coding-task-progress .ycto-timeline li[data-state="done"],
#yap-coding-task-progress .ycto-timeline li[data-state="approval"]{opacity:1}
#yap-coding-task-progress .ycto-timeline li[data-state="failed"],
#yap-coding-task-progress .ycto-timeline li[data-state="uncertain"]{opacity:.9}
#yap-coding-task-progress .ycto-controls{display:flex;gap:8px;margin-top:7px;flex-wrap:wrap}
#yap-coding-task-progress .ycto-controls:empty{display:none}
#yap-coding-task-progress button{font:inherit;color:inherit;background:transparent;border:1px solid var(--border,#64748b);padding:5px 9px;border-radius:8px;cursor:pointer}
#yap-coding-task-progress button:focus-visible{outline:2px solid var(--accent,#7dd3a8);outline-offset:2px}
#yap-coding-task-progress .ycto-note{display:block;margin-top:6px;font-size:10px;opacity:.65}
@media(max-width:560px){#yap-coding-task-progress{padding:9px 10px}
 #yap-coding-task-progress .ycto-timeline{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:8px}}

/* Unified chat first: no persistent workflow card over the composer.
   Step-by-step evidence is available only when a user expands "View steps". */
#yap-coding-task-progress{
 width:min(100%,760px);max-width:760px;margin:2px auto 6px;padding:3px 0;
 background:transparent;border:0;border-radius:0;box-shadow:none;
 font:12px/1.45 system-ui,sans-serif;
}
#yap-coding-task-progress .ycto-heading{
 margin:0;gap:7px;justify-content:flex-start;
}
#yap-coding-task-progress .ycto-heading strong{font-size:12px}
#yap-coding-task-progress .ycto-heading small{font-size:11px;opacity:.72}
#yap-coding-task-progress .ycto-details{margin-top:2px}
#yap-coding-task-progress .ycto-details>summary{
 display:list-item;width:max-content;max-width:100%;padding:3px 0;
 cursor:pointer;opacity:.72;font-size:11px;
}
#yap-coding-task-progress .ycto-details>summary:hover{opacity:1;text-decoration:underline}
#yap-coding-task-progress .ycto-details .ycto-timeline{margin:6px 0 0}
#yap-coding-task-progress .ycto-controls{margin:3px 0 0}
#yap-coding-task-progress .ycto-note{margin:5px 0 0}
@media(max-width:560px){#yap-coding-task-progress{padding:3px 0;margin:2px 0 6px}
 #yap-coding-task-progress .ycto-heading{align-items:flex-start}}
