.run-body .dashboard-main { max-width: 1168px; }
.repo-run-form { max-width: 720px; margin-top: 20px; }
#run-intro { max-width: 720px; margin-top: 8px; }
.repo-run-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.repo-run-form label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.repo-run-form :is(input, select, textarea) { width: 100%; min-width: 0; min-height: 44px; padding: 8px 12px; border: 1px solid var(--control-border); border-radius: 4px; background: var(--paper); color: var(--ink); }
.repo-run-form textarea { resize: vertical; font-family: ui-monospace, monospace; font-size: 13px; }
.run-body details { margin-top: 16px; }
.run-body summary { min-height: 44px; align-content: center; cursor: pointer; font-size: 13px; }
#run-allowance { margin: 16px 0 12px; }
#run-status:empty, #run-prompt-status:empty, #run-import-status:empty { display: none; }
#run-repo-label { margin-bottom: 8px; }
.repo-run-actions { margin-top: 16px; }
.run-body :is(#run-prompt-copy, #run-help-copy) { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; }
.run-body :is(#run-prompt-copy, #run-help-copy) svg { flex-shrink: 0; }
.run-body .repo-prompt-label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.run-body .repo-prompt-label textarea { width: 100%; min-width: 0; padding: 12px; border: 1px solid var(--control-border); border-radius: 4px; background: var(--paper); color: var(--ink); font: 12px/1.6 ui-monospace, monospace; resize: vertical; }
.repo-run-help { max-width: 720px; margin: 12px 0; }
#run-access a { margin-right: 8px; text-decoration: underline; }
#run-progress { margin-top: 20px; }
.repo-run-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
#run-source { overflow-wrap: anywhere; font-weight: 600; }
#run-preview { margin-top: 16px; }
.repo-run-state { margin-top: 16px; max-width: 80ch; }
.repo-run-state h2 { margin: 0 0 4px; }
.repo-run-state p { margin: 0; font-size: 13px; line-height: 1.6; }
.repo-run-state[data-state="attention"] h2 { color: #ffb4ab; }
#run-activity { margin: 8px 0; font-variant-numeric: tabular-nums; }
.repo-run-logs { margin-top: 16px; }
.repo-run-output-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; }
#run-output-label { font-weight: 600; }
.repo-run-follow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.repo-run-follow input { width: 16px; height: 16px; accent-color: var(--blue); }
.run-body #run-log-output { display: block; box-sizing: border-box; width: 100%; height: 280px; min-height: 160px; overflow: auto; resize: vertical; padding: 12px; border: 1px solid var(--control-border); border-radius: 4px; background: var(--paper); color: var(--ink); font: 12px/1.6 ui-monospace, monospace; overflow-wrap: anywhere; }
#run-output-note { margin-top: 8px; }
.run-body .container-terminal { margin-top: 20px; }
.run-body .terminal-output { height: clamp(280px, 52dvh, 560px); min-height: 280px; }
.run-body .container-actions { flex-wrap: wrap; gap: 8px 16px; }
.run-body .text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
.repo-step { margin: 0 0 8px; font-size: 13px; }
.repo-run-config { max-height: 320px; overflow: auto; margin: 16px 0; font: 13px/1.6 ui-monospace, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
#run-prompt-status { margin-top: 16px; }
#run-prompt-preview { margin-top: 16px; }
#run-prompt-text { max-height: 40dvh; }
#run-import-step { margin-top: 24px; }
#run-import-hint { margin: 4px 0 8px; }
#run-import-status { margin: 8px 0 0; }
#run-import-text { font-size: 14px; line-height: 1.5; }
@media (max-width: 600px) { .run-body .dashboard-main { padding-left: 16px; padding-right: 16px; } }
