/* RRGI · join a group (group.html): phone first, one big button, the members, the code for others'
   phones. On site.css and assess.css. */

.group-page { max-width: 640px; }
.join-card { display: grid; gap: 12px; }
.join-card #join-state { display: grid; gap: 12px; }
.join-line { margin: 0; font-size: 17px; overflow-wrap: anywhere; }
.join-line.good { color: var(--ok); font-weight: 600; }
button.big { width: 100%; min-height: 56px; font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
#one h2 { margin: 28px 0 12px; font-size: 18px; }
.group-page .members { display: grid; gap: 8px; }
.group-list .row-acts .join-line { font-size: 15px; }
.group-page .members li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.add-card { margin: 20px 0 0; display: grid; gap: 8px; }
.add-card h3 { margin: 0; }
.add-card .note { margin: 0; }
.qr-box { margin-top: 32px; display: grid; justify-items: start; gap: 8px; }
.qr { width: 200px; max-width: 100%; background: #fff; }
.qr svg { display: block; width: 100%; height: auto; }
/* Start a group (the list) and Build our algorithm (a member, on the group's page) */
.start-card { display: grid; gap: 10px; margin: 0 0 28px; }
.start-card h2 { margin: 0; }
.start-card .note { margin: 0; }
.start-card .note:empty { display: none; }
.kinds { margin: 0; padding: 0; border: 0; display: grid; gap: 6px; min-width: 0; }
.kinds legend { padding: 0; margin: 0 0 6px; font-size: 14px; color: var(--text-2); }
.kinds label { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--rule-2); background: var(--surface); cursor: pointer; }
.kinds label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.kinds input { width: 18px; height: 18px; accent-color: var(--accent); }
/* the join view: each group a clear row with its Join; the other view one quiet link at the bottom */
.group-list li { padding: 14px 0; }
.group-list .row-title { font-size: 18px; }
.group-list .row-members { display: block; color: var(--text-2); font-size: 14px; overflow-wrap: anywhere; }
.group-list .row-acts button { min-height: 44px; min-width: 96px; font-weight: 600; }
.mode-switch { margin: 28px 0 0; font-size: 14px; }
.join-next { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; }
#lines h2 { overflow-wrap: anywhere; }
.build-line { margin: 12px 0 0; }
/* "<group>'s algorithms": a row each, its tree in place under it (algo-tree.css) */
.line-rows .line-tree { margin-top: 8px; min-width: 0; }
.line-rows .row-acts { align-items: center; }
.tree-wait { margin: 0; }

