.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 4px;
}

.status-draft {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
}

.status-submitted {
  background: var(--info);
  color: white;
}

.status-in-review {
  background: var(--warning);
  color: black;
}

.status-approved {
  background: var(--success);
  color: white;
}

.status-rejected {
  background: var(--danger);
  color: white;
}

.status-revision-requested {
  background: var(--warning);
  color: black;
}
.prompt-dialog-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.prompt-dialog {
  background: var(--bg-elev, #1f1f23);
  color: var(--text-primary, #f4f4f5);
  border: 1px solid var(--border-color, #3f3f46);
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  width: min(540px, calc(100vw - 32px));
  padding: 20px 22px 18px;
}

.prompt-dialog-title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 600;
}

.prompt-dialog-message {
  margin: 0 0 14px;
  color: var(--text-secondary, #a1a1aa);
  font-size: 0.92rem;
  line-height: 1.4;
}

.prompt-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}
.active-runs-indicator {
  position: relative;
}

.active-runs-btn {
  position: relative;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  border-radius: 6px;
}

.active-runs-btn:hover {
  background: var(--ey-color-bg-hover, rgba(255, 255, 255, 0.06));
}

.active-runs-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: arb-spin 0.9s linear infinite;
  margin-right: 6px;
  vertical-align: middle;
}

.active-runs-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--ey-color-text-primary, currentColor);
}

.active-runs-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 320px;
  background: var(--ey-color-bg-elevated, #1c1c1c);
  border: 1px solid var(--ey-color-border, #333);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 200;
  padding: 8px;
}

.active-runs-empty {
  padding: 16px;
  text-align: center;
  color: var(--ey-color-text-muted, #999);
  font-size: 13px;
}

.active-run-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.active-run-row:hover {
  background: var(--ey-color-bg-hover, rgba(255, 255, 255, 0.05));
}

.active-run-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.active-run-id {
  font-size: 12px;
  font-family: var(--ey-font-mono, ui-monospace, SFMono-Regular, monospace);
  color: var(--ey-color-text-muted, #999);
}

.active-run-dim {
  font-size: 12px;
  color: var(--ey-color-text-primary, #fff);
}

.active-run-progress {
  font-size: 11px;
  color: var(--ey-color-text-muted, #999);
}

@keyframes arb-spin {
  to { transform: rotate(360deg); }
}
