/* Общее для мини-приложений: клавиши, «Как пользоваться», «Вопросы и ответы» */

kbd {
  display: inline-block; padding: 0 5px; min-width: 20px; text-align: center;
  border: 1px solid var(--border-strong); border-bottom-width: 2px; border-radius: 5px;
  font: 600 11px/18px var(--font); color: var(--text-2); background: var(--surface);
}

/* ---------- как пользоваться ---------- */
.ma-help { margin-top: 20px; }
.ma-help__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .ma-help__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
.ma-help__item { display: flex; gap: 12px; }
.ma-help__item strong { display: block; margin-bottom: 4px; }
.ma-help__item p { font-size: 13px; }
.ma-help__item p i { vertical-align: -2px; }
.ma-help__num {
  display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px;
  border-radius: 50%; background: var(--brand-soft); color: var(--brand-soft-text);
  font-weight: 700; font-size: 13px;
}

/* ---------- вопросы и ответы ---------- */
.ma-faq { margin-top: 20px; }
.ma-faq__list { padding: 6px 20px; }
.ma-faq__item + .ma-faq__item { border-top: 1px solid var(--border); }
.ma-faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 0; cursor: pointer; list-style: none;
  font-size: 14px; font-weight: 700;
}
.ma-faq__item summary::-webkit-details-marker { display: none; }
.ma-faq__item summary:hover { color: var(--brand); }
.ma-faq__item summary i { flex-shrink: 0; font-size: 20px; color: var(--text-3); transition: transform .2s var(--ease); }
.ma-faq__item[open] summary i { transform: rotate(180deg); }
.ma-faq__answer { padding: 0 32px 16px 0; font-size: 13px; color: var(--text-2); max-width: 820px; }
.ma-faq__answer p + p { margin-top: 8px; }
.ma-faq__answer b { color: var(--text); }
.ma-faq__answer i { vertical-align: -2px; color: var(--text); }
@media (max-width: 600px) {
  .ma-faq__list { padding: 4px 16px; }
  .ma-faq__answer { padding-right: 0; }
}
