/* Should you clone your own voice? Phone first: the article frame is 311 px on a phone and 700 px on a computer. */
h1 { font-size: 1.25rem; margin: 0; }
.steps { margin-top: 16px; }
.q { margin: 0 0 16px; }
.q legend { display: flex; align-items: center; font-weight: 600; font-size: 1rem; line-height: 1.4; margin-bottom: 8px; }
.num {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; margin-right: 8px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 0.75rem; font-weight: 700;
}
.answers { display: flex; flex-wrap: wrap; gap: 6px; }
.answer {
  min-height: 40px; padding: 8px 14px; font: inherit; font-size: 0.9375rem; line-height: 1.35; text-align: left;
  color: var(--text); background: #fff; border: 1px solid var(--line-strong); border-radius: 8px; cursor: pointer;
  max-width: 100%; overflow-wrap: anywhere;
}
.answer:hover { border-color: var(--accent); }
.answer[aria-pressed='true'] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 600; }

.result { margin-top: 4px; padding: 16px; border: 1px solid var(--accent); border-radius: var(--radius); background: #fff; }
.result h2 { margin: 0 0 10px; font-size: 1.1875rem; }
.part { margin: 0 0 10px; }
.part h3 {
  margin: 0 0 2px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.part p { margin: 0; font-size: 0.9375rem; }
.reasons { margin: 0; padding-left: 1.1rem; font-size: 0.9375rem; }
.reasons li { margin: 0 0 4px; }
.but p { padding: 8px 10px; border-radius: 8px; background: #fff4e5; color: #5c3200; }
.first p { font-weight: 600; }
.pointer { margin: 0; font-size: 0.875rem; font-style: italic; color: var(--muted); }
.notes:empty { display: none; }
.notes { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.note { margin: 0 0 10px; padding: 10px 12px; border-radius: 8px; background: var(--accent-soft); font-size: 0.9375rem; }
.note:last-child { margin-bottom: 0; }
.note p { margin: 0; }
.note .pointer { margin-top: 4px; }

.again-row { margin: 12px 0 0; }
.bottom-line { margin: 18px 0 0; }
.bottom-line .button { max-width: 100%; }
[hidden] { display: none !important; }

/* In the 311 px phone frame the answer buttons stack, one under another. */
@media (max-width: 420px) {
  .answers { flex-direction: column; }
  .answer { width: 100%; }
  .result { padding: 14px 12px; }
}

@media (min-width: 600px) {
  h1 { font-size: 1.375rem; }
}
