/*
 * The platform admin's Errors tab (D174).
 *
 * Layout only. Every colour, size, radius and duration is a token; this file
 * introduces no new visual language and authors no component.
 */

/* OpenRouter's reply under its pill. It is the content a reader came for, so it
   is body-coloured rather than muted, and a long reply wraps rather than
   widening the table. */
.error-message {
  margin-top: var(--space-2);
  font-family: var(--font-mono);
  color: var(--text-secondary);
  font-size: var(--type-caption-size);
  line-height: var(--type-body-leading);
  overflow-wrap: anywhere;
}

/* A backtrace, as the prompt body is shown (prompts.css): kept to its own lines,
   wrapped rather than scrolled sideways. */
.error-backtrace {
  margin: 0;
  font-family: var(--font-mono);
  padding: var(--space-4);
  border: var(--border-width) solid var(--border-default);
  border-radius: var(--radius-sm);
  background-color: var(--surface-2);
  color: var(--text-secondary);
  font-size: var(--type-caption-size);
  line-height: var(--type-body-leading);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
