.task-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 20px; }
.task-card { min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #f6ffffc7; }
.task-title { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.task-title span, .task-card small { color: var(--muted); font-size: 12px; line-height: 1.7; }
.task-card p { font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; margin: 8px 0; }
.task-card[data-state=running], .task-card[data-state=queued] { border-left: 3px solid #168579; }
.task-card[data-state=needs_review] { border-left: 3px solid #b07834; }
.card-actions { flex-wrap: wrap; }
.card-actions button { min-height: 28px; }
.task-card .secondary-button { margin-top: 10px; }
.generation-progress { margin: 12px 0; }
.generation-progress-summary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-bottom: 6px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.generation-progress-count { font-variant-numeric: tabular-nums; }
.generation-progress-bar { display: block; width: 100%; height: 5px; overflow: hidden; border: 0; border-radius: 3px; appearance: none; background: #16857918; color: #168579; }
.generation-progress-bar::-webkit-progress-bar { border-radius: 3px; background: #16857918; }
.generation-progress-bar::-webkit-progress-value { border-radius: 3px; background: #168579; }
.generation-progress-bar::-moz-progress-bar { border-radius: 3px; background: #168579; }
.generation-progress-bar:indeterminate { background: linear-gradient(90deg, transparent, #168579, transparent) -70% 0 / 40% 100% no-repeat, #16857918; animation: generation-progress-pulse 1.8s ease-in-out infinite; }
.generation-progress-bar:indeterminate::-webkit-progress-bar { background: transparent; }
.generation-progress-bar:indeterminate::-moz-progress-bar { background: transparent; }
.generation-progress[data-active=false] .generation-progress-bar { opacity: .65; }
@keyframes generation-progress-pulse { to { background-position: 170% 0; } }
@media (prefers-reduced-motion: reduce) { .generation-progress-bar:indeterminate { animation: none; background-position: 50% 0; } }
@media(max-width: 1000px) { .task-panel { grid-template-columns: 1fr; } }
