.submission-status { font-size: 15px; line-height: 1.5; margin: 16px 0 0; }
.submission-status[data-state="error"] { color: #b12f43; }
[data-theme="dark"] .submission-status[data-state="error"] { color: #ffb4bf; }
button:disabled { opacity: .65; cursor: wait; }

/* Align the two assessment CTAs around the same center in both heroes. */
#top .workspace-stage .task-space .primary-actions,
#top .dialogue-stage .dialogue-console .hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 440px;
  margin: 0 auto 22px;
}

#top .workspace-stage .primary-actions .btn,
#top .dialogue-stage .hero-actions .btn {
  width: 100%;
  min-height: 48px;
  justify-content: center;
  text-align: center;
}

@media (max-width: 480px) {
  #top .workspace-stage .task-space .primary-actions,
  #top .dialogue-stage .dialogue-console .hero-actions {
    grid-template-columns: minmax(0, 1fr);
    max-width: 300px;
  }
}
