/* Buttons: big targets, drawn edges, words that say the outcome. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  padding: var(--space-2) var(--space-3);
  min-height: var(--target-min);
  border: var(--border) solid var(--color-ink);
  border-radius: var(--radius);
  background: var(--color-paper);
  color: var(--color-ink);
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--color-paper-dim);
}

/* Creator app (app.): the one filled shape per screen is ink.
   The action blue stays on respondent forms (ADR 0004). */
.btn--primary {
  background: var(--color-ink);
  color: var(--color-paper);
}

.btn--primary:hover {
  background: var(--color-ink-soft);
  border-color: var(--color-ink-soft);
}

/* Links that act as quiet buttons: the underline is the affordance. */
.btn--ghost {
  border-color: transparent;
  text-decoration: underline;
  text-decoration-thickness: var(--border);
  text-underline-offset: var(--underline-offset);
}

.btn--ghost:hover {
  background: var(--color-paper-dim);
}

.btn--block {
  width: 100%;
}

@media (forced-colors: active) {
  .btn--primary {
    border: calc(var(--border) * 2) solid ButtonText;
  }
}

.btn {
  max-width: 100%;
}
