.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 650;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.btn .icon,
summary .icon,
.text-link .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

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

.btn:hover {
  background: var(--surface-2);
}

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

.btn.danger {
  color: var(--danger);
  border-color: var(--danger-line);
  background: var(--danger-soft);
}

.btn.full {
  width: 100%;
}

.text-link {
  color: var(--accent-text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 600;
  font-size: 14px;
}

/* Кнопка-ссылка: без серой системной подложки и рамки (iPhone) */
button.text-link {
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  line-height: inherit;
}

.text-link.danger {
  color: var(--danger);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.chip,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 13px;
}

.chip {
  min-height: 44px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}

.pill {
  gap: 5px;
  padding: 5px 10px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.pill .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
  margin-left: -2px;
}

