/* Error states. Used by partials/error.html, gate_closed.html, and the
 * inline unlock-error message. Signal red lives only here.
 *
 *   .alert         — block alert with the wash, used in #results.
 *   .alert--inline — single line in muted-red, used inside the unlock form.
 */

.alert {
  padding: var(--space-4);
  background: var(--warn-soft);
  border: 3px solid var(--warn);
  color: var(--warn);
  font-size: var(--size-2);
}

.alert pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--size-1);
  line-height: var(--leading-normal);
  color: inherit;
  white-space: pre-wrap;
  word-break: break-word;
}

.alert a {
  color: inherit;
  text-decoration-color: var(--warn);
}

.alert--inline {
  margin-top: var(--space-3);
  padding: 0;
  background: transparent;
  border: none;
  color: var(--warn);
  font-family: var(--font-mono);
  font-size: var(--size-1);
  font-weight: var(--weight-bold);
  letter-spacing: 0.04em;
}
