.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  height: var(--control-height); padding: 0 var(--space-4);
  border: 1px solid transparent; border-radius: var(--radius);
  font: inherit; font-size: var(--text-sm); font-weight: 500; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .12s, border-color .12s;
}
.btn:disabled, .btn[aria-disabled="true"] { cursor: not-allowed; opacity: .5; }

.btn--primary { background: var(--accent); color: var(--accent-contrast); }
.btn--primary:hover:not(:disabled) { background: var(--accent-hover); }

.btn--secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn--secondary:hover:not(:disabled) { background: var(--surface-muted); }

.btn--quiet { background: transparent; color: var(--text-secondary); }
.btn--quiet:hover:not(:disabled) { background: var(--surface-muted); color: var(--text); }

.btn--danger { background: var(--surface); color: var(--danger); border-color: currentColor; }
.btn--danger:hover:not(:disabled) { background: var(--danger-tint); }

.btn--small { height: 28px; padding: 0 var(--space-3); font-size: var(--text-xs); }
.btn--icon { width: var(--control-height); padding: 0; }

.btn[aria-pressed="true"] { background: var(--surface-muted); color: var(--text); }
.btn--small.btn--icon { width: 28px; }
