/* A task of "Nicht teilnehmen und trotzdem mitmachen" (server/mitmachen.js): read on a phone, answered on the page */
.mm-how { list-style: none; counter-reset: mm; padding: 16px 18px; margin: 24px 0 8px; border-radius: 14px; background: var(--hl); display: grid; gap: 8px; }
.mm-how li { counter-increment: mm; display: flex; gap: 10px; align-items: baseline; }
.mm-how li::before { content: counter(mm); flex: none; display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: .9rem; }
.mm-answers { display: grid; gap: 16px; margin: 32px 0 8px; padding: 22px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.mm-answers h2 { margin: 0; }
.mm-answers label { display: grid; gap: 6px; font-weight: 600; min-width: 0; }
.mm-answers input, .mm-answers textarea { width: 100%; min-width: 0; box-sizing: border-box; font: inherit; font-weight: 400; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--field); color: var(--ink); }
.mm-answers input { min-height: 46px; }
.mm-answers textarea { resize: vertical; min-height: 96px; }
.mm-note { margin: 0; color: var(--muted); font-size: .92rem; }
.mm-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.mm-row .btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.mm-msg { margin: 0; color: var(--muted); font-size: .95rem; }
.mm-msg:empty { display: none; }
/* printed: the text and the answers, without buttons and the website around it */
@media print {
  .mm-answers { box-shadow: none; border: 0; padding: 0; }
  .mm-row, .mm-note, .mm-msg, .post-back, .link-list { display: none; }
  .mm-answers textarea { border: 1px solid #999; min-height: 0; }
}
/* the technical terms, the Anforderungsbereich of a question, what the text is based on */
.mm-terms { display: grid; gap: 8px; margin: 12px 0 0; }
.mm-terms div { padding: 10px 14px; border-radius: 12px; background: var(--hl); }
.mm-terms dt { font-weight: 700; }
.mm-terms dd { margin: 2px 0 0; color: var(--ink); }
.mm-afb { justify-self: start; padding: 1px 8px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .05em; }
.mm-sources { color: var(--muted); font-size: .92rem; }
