/* Questions, Questionnaires (Group Map 0.9.0, block Q3a): the asker's screens. The QR box stays dark on white in
   both themes, at least 240 px, so a phone camera reads it from the screen. */

.qa-page { display: flex; flex-direction: column; gap: 14px; }
.qa-sec { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; }
.qa-sec h3 { margin: 0; font-size: 15px; }
.qa-sec-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.qa-small { font-size: 12px; }

.qa-hint, .qa-warn, .qa-nosend { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 13px; color: var(--text-2); }
.qa-hint svg, .qa-warn svg, .qa-nosend svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.qa-warn { color: var(--warn); }
.qa-err { color: var(--danger); margin: 0; font-size: 13px; }
.qa-err:empty { display: none; }

.qa-problem-box { border: 1px solid var(--warn); border-radius: 10px; padding: 10px 14px; }
.qa-problems { margin: 4px 0 0; padding-left: 18px; color: var(--warn); font-size: 13px; }

.qa-stash { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-radius: 10px;
  border: 1px solid var(--warn); color: var(--text); }
.qa-stash > span { flex: 1 1 260px; }
.qa-stash svg { width: 16px; height: 16px; color: var(--warn); }

.qa-linklike { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer;
  text-align: left; }
.qa-linklike:hover { text-decoration: underline; }

.qa-choices { display: flex; flex-direction: column; gap: 8px; }
.qa-choice { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 14px; border-radius: 10px;
  border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.qa-choice:hover, .qa-choice:focus-visible { border-color: var(--accent); }

.qa-q { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.qa-q-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.qa-up svg { transform: rotate(180deg); }
.qa-about { font-size: 13px; color: var(--text-2); }
.qa-q textarea, .qa-sec textarea { width: 100%; resize: vertical; }
.qa-cols { display: flex; flex-direction: column; gap: 6px; }
.qa-col { display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; padding: 6px 0; border-top: 1px dashed var(--line); }
.qa-follow-up { display: flex; gap: 10px; flex-wrap: wrap; }
.qa-addbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.qa-locked { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

.qa-picker { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.qa-pick-list, .qa-people { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; max-height: 360px; overflow: auto; }
.qa-pick-list li, .qa-people li { display: flex; align-items: center; gap: 8px; padding: 6px 4px; border-bottom: 1px solid var(--line); }
.qa-pick-text { flex: 1; }
.qa-person { flex: 1; display: flex; flex-direction: column; }
.qa-first { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.qa-first input { width: 120px; }

.qa-about-lines { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.qa-about-lines legend { font-size: 13px; color: var(--text-2); margin-bottom: 4px; }
.qa-minutes { display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; }
.qa-minutes input { width: 90px; }

.qa-row-actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }

.qa-link, .qa-link-panel { display: flex; flex-direction: column; gap: 12px; }
.qa-copy-row { display: flex; flex-direction: column; gap: 6px; }
.qa-copy-row label { font-size: 13px; color: var(--text-2); }
.qa-copy-row .btn { align-self: flex-start; }
.qa-copy { width: 100%; }
.qa-qr { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.qa-qr-svg { display: block; width: 240px; height: 240px; min-width: 240px; min-height: 240px; background: #ffffff;
  border-radius: 6px; }
.qa-qr figcaption { font-size: 12px; color: var(--text-2); }

/* The answers and their review (block Q3b). */
.qa-answers { display: flex; flex-direction: column; gap: 10px; }
.qa-ans-person { border: 1px solid var(--line); border-radius: var(--radius-s); }
.qa-ans-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; width: 100%; padding: 8px 10px; border: 0;
  background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.qa-ans-head svg { width: 16px; height: 16px; flex: none; }
.qa-ans-list { list-style: none; margin: 0; padding: 0 10px 10px; display: flex; flex-direction: column; gap: 10px; }
.qa-ans { padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-s); display: flex;
  flex-direction: column; gap: 6px; }
.qa-ans-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
/* 0.9.1: an answer from an earlier link or a follow-up that did not come up: greyed, Skip only. */
.qa-ans-stale { background: color-mix(in srgb, var(--muted) 8%, transparent); border-style: dashed; color: var(--muted); }
.qa-ans-value, .qa-ans-note, .qa-ans-else, .qa-ans-target, .qa-ans-about { margin: 0; }
.qa-ans-text { white-space: pre-wrap; }
.qa-ans-target { display: flex; align-items: flex-start; gap: 6px; }
.qa-ans-target svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.qa-ans-lines { margin: 0; padding-left: 18px; font-size: 13px; color: var(--text-2); }
.qa-ans-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.qa-ans-actions input[type="text"] { flex: 1 1 240px; }
.qa-ans-edit { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.qa-ans-edit textarea { width: 100%; }
.qa-ans-pending { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 10px;
  border-radius: var(--radius-s); border: 1px solid color-mix(in srgb, var(--warn) 45%, var(--line));
  background: color-mix(in srgb, var(--warn) 8%, transparent); }
.qa-ans-pending svg { width: 16px; height: 16px; flex: none; color: var(--warn); }
.qa-rv-accepted, .qa-rv-edited { border-color: color-mix(in srgb, var(--ok) 60%, var(--line)); }
.qa-rv-skipped { opacity: 0.8; }
.qa-roster select { min-width: 200px; }
