.shot{min-width:0;margin:0}.shot-frame{width:100%;aspect-ratio:var(--shot-ratio,16 / 10);border:1px solid var(--line);border-radius:var(--radius);background:var(--slate-50);cursor:zoom-in;padding:0;display:block;position:relative;overflow:hidden}.shot-frame:disabled{cursor:default}.shot-frame img{object-fit:cover;object-position:top;width:100%;height:100%;display:block}.shot-loading .shot-frame img{opacity:0}.shot-skeleton{background:linear-gradient(90deg, var(--slate-100) 25%, var(--slate-50) 45%, var(--slate-100) 65%);background-size:280% 100%;animation:1.4s ease-in-out 2 skeleton-sheen;position:absolute;inset:0}.shot-enlarge{border-radius:var(--radius-sm);width:26px;height:26px;color:var(--ink);background:rgba(var(--paper-rgb), .85);box-shadow:var(--shadow-sm);opacity:0;place-items:center;transition:opacity .12s ease-out;display:grid;position:absolute;bottom:8px;right:8px}.shot-frame:hover .shot-enlarge,.shot-frame:focus-visible .shot-enlarge{opacity:1}.shot-fallback{color:var(--muted);font-size:var(--text-sm);cursor:default;place-content:center;justify-items:center;gap:6px;display:grid}.shot-caption{color:var(--ink-soft);font-size:var(--text-sm);flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 12px;margin-top:6px;display:flex}.shot-identity{color:var(--muted);font-size:var(--text-xs);white-space:nowrap}.shot-identity code{font-family:var(--mono);font-size:var(--text-xs)}.shot-identity a{color:inherit}.shot-large{border:1px solid var(--line);border-radius:var(--radius);max-width:100%;height:auto;margin:0 auto;display:block}.shot-pair{min-width:0;margin:0}.shot-pair-sides{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.shot-pair-side{min-width:0}.shot-pair-label{color:var(--muted);font-size:var(--text-xs);text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px;font-weight:500;display:block}.shot-pair>.shot-caption{margin-top:8px}@media (max-width:640px){.shot-pair-sides{grid-template-columns:minmax(0,1fr)}}@media (prefers-reduced-motion:reduce){.shot-skeleton{animation:none}.shot-enlarge{transition:none}}
.message-stream{flex:1;min-height:0;padding:23px;overflow-y:auto}.message-stream:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.message-phase{background:var(--slate-100);color:var(--muted);font-size:var(--text-2xs);text-transform:lowercase;border-radius:999px;margin-left:6px;padding:1px 6px;font-style:normal;font-weight:600}.message-quote{border-left:3px solid var(--slate-200);background:var(--slate-50);border-radius:0 7px 7px 0;margin:8px 0;padding:8px 12px}.message-quote>small{color:var(--muted);font-size:var(--text-2xs);letter-spacing:.02em;text-transform:uppercase;align-items:center;gap:4px;margin-bottom:4px;font-weight:600;display:inline-flex}.message-avatar{color:#616972;background:#e9edf1;border:1px solid #d1d7df;border-radius:7px;place-items:center;width:30px;height:30px;display:grid}.message-markdown{color:#3e4650;max-width:720px;font-size:var(--text-md);overflow-wrap:anywhere;margin-top:4px;line-height:1.65}.message-markdown p+p,.message-markdown ul,.message-markdown ol,.message-markdown pre{margin-top:8px}.message-markdown ul,.message-markdown ol{padding-left:20px}.message-markdown code{font-family:var(--mono);background:#e9ecf0;border-radius:4px;padding:1px 4px;font-size:.9em}.message-markdown pre{background:#e9ecf0;border-radius:7px;padding:10px;overflow-x:auto}.message-markdown pre code{padding:0}@keyframes bounce{0%,80%,to{transform:translateY(0)}40%{transform:translateY(-3px)}}.run-status{flex-direction:column;gap:6px;display:flex}.run-status-line{flex-wrap:wrap;align-items:center;gap:6px;min-height:22px;display:flex}.run-status-stage{color:var(--ink);font-size:var(--text-sm);align-items:center;gap:5px;font-weight:600;display:inline-flex}.run-status-stage[data-quiet=true]{color:var(--muted);font-weight:500}.run-pill{background:var(--slate-100);height:20px;color:var(--muted);font-size:var(--text-xs);white-space:nowrap;border-radius:999px;align-items:center;gap:4px;padding:0 7px;font-weight:500;display:inline-flex}.run-pill-level{color:var(--ink-soft)}.run-pill-level em{color:var(--muted);font-style:normal}.run-status-spin{color:var(--muted);animation:1.1s linear infinite run-spin}@keyframes run-spin{to{transform:rotate(360deg)}}.run-status-links{font-size:var(--text-sm);flex-wrap:wrap;align-items:center;gap:10px;display:flex}.run-status-links a{color:var(--ink);align-items:center;gap:4px;text-decoration:none;display:inline-flex}.run-status-links a:hover{text-decoration:underline}.run-badge{background:var(--slate-100);color:var(--muted);font-size:var(--text-xs);text-transform:uppercase;border-radius:4px;margin-left:4px;padding:0 5px;font-weight:600}.run-status-merged{color:var(--muted);align-items:center;gap:4px;display:inline-flex}.run-status-intake{color:var(--muted);font-size:var(--text-xs);margin:0}.run-status[data-compact] .run-status-links,.run-status[data-compact] .run-status-intake{font-size:var(--text-xs)}.run-stopped{background:color-mix(in srgb, var(--tone-attention) 10%, transparent);color:var(--ink);border-radius:8px;align-items:flex-start;gap:8px;padding:9px 10px;display:flex}.run-stopped>svg{color:var(--tone-attention);flex:none;margin-top:1px}.run-stopped>div{flex:1;min-width:0}.run-stopped strong{font-size:var(--text-sm);display:block}.run-stopped p{color:var(--ink-soft);font-size:var(--text-sm);margin:2px 0 0}.run-stopped-action{flex:none}.run-activity{flex-direction:column;gap:4px;min-width:0;display:flex}.run-activity-list{flex-direction:column;gap:2px;max-height:320px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.run-activity[data-compact] .run-activity-list{max-height:148px}.run-activity-row{font-size:var(--text-xs);grid-template-columns:52px 16px minmax(0,1fr);align-items:baseline;gap:6px;padding:2px 0;line-height:1.45;display:grid}.run-activity-row>time{color:var(--muted);font-variant-numeric:tabular-nums}.run-activity-icon{color:var(--muted);align-self:center;display:inline-flex}.run-activity-row[data-kind=error] .run-activity-icon{color:var(--tone-attention)}.run-activity-row[data-kind=verification] .run-activity-icon,.run-activity-row[data-kind=publication] .run-activity-icon{color:var(--tone-free)}.run-activity-text{min-width:0;color:var(--ink-soft);overflow-wrap:anywhere}.run-activity-text a{color:var(--ink)}.run-activity-command{background:var(--slate-100);color:var(--muted);font-family:var(--font-mono,ui-monospace, monospace);font-size:var(--text-xs);border-radius:4px;align-items:center;gap:6px;margin-left:6px;padding:0 5px;display:inline-flex}.run-activity-command em{font-style:normal}.run-activity-command em[data-failed]{color:var(--tone-attention);font-weight:600}.run-activity-failed{color:var(--tone-attention);font-style:normal;font-weight:600;font-size:var(--text-xs);margin-left:6px}.run-activity-empty{color:var(--muted);font-size:var(--text-xs);margin:0}.run-activity-more{align-self:flex-start;gap:3px}@media (prefers-reduced-motion:reduce){.run-status-spin{animation:none}}.run-activity-end{height:0}.task-detail{gap:18px;max-width:720px;padding:16px 18px 28px;display:grid}.chat-work-actions,.tasks-need-actions{align-items:flex-start}.settings-recovery{border:1px solid var(--line);border-radius:8px;margin:12px 0;padding:12px}.settings-recovery summary{cursor:pointer;font-size:var(--text-sm);font-weight:600}.settings-recovery label{font-size:var(--text-sm);gap:6px;margin-top:12px;display:grid}.settings-recovery input:not([type=checkbox]),.settings-recovery textarea{border:1px solid var(--line);background:var(--paper);width:100%;color:var(--ink);font:inherit;resize:vertical;border-radius:6px;padding:8px 10px}.task-detail[data-review]{width:100%;max-width:1400px}.task-other-actions>summary{cursor:pointer;color:var(--text-secondary,#6e6e73);font-size:12px}.task-other-actions[open]>summary{margin-bottom:12px}.task-other-actions[open]>button{margin-top:8px;display:block}.run-rail-frame{min-width:0;container-type:inline-size}.run-rail{align-items:flex-start;gap:4px;min-width:0;margin:0;padding:0;list-style:none;display:flex}.run-rail-segment{min-width:0;font-size:var(--text-xs);color:var(--muted);flex:1 1 0;gap:4px;padding-top:8px;display:grid;position:relative}.run-rail-segment:before{content:"";background:var(--slate-100);border-radius:999px;height:4px;position:absolute;top:0;left:0;right:0}.run-rail-segment[data-state=done]:before{background:var(--tone-free)}.run-rail-segment[data-state=active]:before{background:var(--tone-working)}.run-rail-segment[data-state=failed]:before{background:var(--tone-attention)}.run-rail-segment[data-state=skipped]:before{background:repeating-linear-gradient(90deg, var(--slate-100) 0 4px, transparent 4px 7px)}.run-rail-segment[data-state=active]{color:var(--ink);font-weight:600}.run-rail-segment[data-state=done]{color:var(--ink-soft)}.run-rail-segment[data-state=failed]{color:var(--tone-attention)}.run-rail-mark{align-items:center;height:10px;display:inline-flex}.run-rail-segment[data-state=done] .run-rail-mark{color:var(--tone-free)}.run-rail-label{white-space:nowrap;text-overflow:ellipsis;align-items:baseline;gap:5px;display:flex;overflow:hidden}.run-rail-label small{color:var(--muted);font-weight:500}.run-rail-live{color:var(--ink);flex-wrap:wrap;gap:6px;font-weight:500;display:flex}.run-rail-activity{overflow-wrap:anywhere}.run-rail-time{color:var(--muted)}.run-rail[data-compact] .run-rail-segment{padding-top:6px}.run-rail[data-compact] .run-rail-segment:before{height:3px}@container (max-width:480px){.run-rail-segment:not([data-current]){flex:0 0 18px}.run-rail-segment:not([data-current]) .run-rail-label,.run-rail-segment:not([data-current]) .run-rail-mark{display:none}.run-rail-segment:not([data-current]):before{width:14px;height:6px;right:auto}.run-rail-segment[data-current]{flex:auto}}.run-pill-checks[data-tone=good]{background:color-mix(in srgb, var(--tone-free) 14%, transparent);color:color-mix(in srgb, var(--tone-free) 70%, var(--ink))}.run-pill-checks[data-tone=bad]{background:color-mix(in srgb, var(--tone-attention) 12%, transparent);color:var(--tone-attention)}.run-pill-checks[data-tone=pending]{color:var(--ink-soft)}.preview-shot{min-width:0;max-width:640px}.preview-shot[data-compact]{max-width:320px}.preview-shot-missing{color:var(--muted);font-size:var(--text-xs);align-items:center;gap:6px;margin:0;display:flex}.chat-work-other{flex-basis:100%}.chat-work-other[open]>button{margin:6px 6px 0 0;display:inline-flex}
