/* Vitamera-Main-Website — /assessment/ page-specific styles.
   Built only from diagnosis.css variables and components (ADR-011). No new colors, fonts or icons. */

/* Questions inside a section screen: accessible radio groups styled like .choice */
.question { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.question:last-of-type { margin-bottom: 0; }
.question legend { display: block; color: var(--navy); font-size: 15px; font-weight: 700; line-height: 1.6; margin: 0 0 10px; padding: 0; }
.question .choice { position: relative; display: flex; align-items: center; cursor: pointer; }
.question .choice input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.question .choice:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
.question textarea { margin-top: 4px; }
.question select, #lead select { width: 100%; border: 1.5px solid #d7deea; background: #fff; border-radius: 13px; padding: 14px 15px; color: var(--ink); min-height: 52px; font: inherit; }
.question .count { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; text-align: end; }
.stage-prompt { color: var(--muted); font-size: 13px; margin: -12px 0 22px; }

/* Honeypot: never visible, never focusable */
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* Result panel */
.result-head { padding: 26px 32px 22px; background: linear-gradient(120deg, #f8f4ef, #f6faff); border-bottom: 1px solid var(--border); }
.result-head .eyebrow { display: block; margin-bottom: 6px; }
.result-head h2 { color: var(--navy); font-size: 25px; line-height: 1.45; margin: 0 0 8px; }
.result-head p { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0; }
.result-lead { color: var(--ink); font-size: 14px; line-height: 1.8; margin: 0 0 18px; }
.result-lead strong { color: var(--navy); }
.result-list { display: grid; margin: 0 0 22px; border: 1px solid var(--border); border-radius: 15px; overflow: hidden; }
.result-row { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 13px; }
.result-row:last-child { border-bottom: 0; }
.result-tag { display: inline-flex; align-items: center; justify-content: center; min-width: 104px; border: 1.5px solid var(--border); border-radius: 999px; padding: 6px 12px; color: var(--navy); background: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; }
.result-tag.strength { background: #f5fbea; border-color: var(--lime); }
.result-tag.priority { background: var(--amber); border-color: var(--amber); }
.result-row strong { display: block; color: var(--navy); font-size: 14px; margin-bottom: 3px; }
.result-row span { color: var(--muted); line-height: 1.7; }
.result-note { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 0 0 18px; padding: 12px 16px; border: 1px solid var(--border); border-radius: 13px; background: #f8fafc; }
.result-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.result-actions .btn { width: 100%; }
.result-secondary { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.result-secondary .btn { flex: 1 1 auto; }

/* Lead screen before the result (ADR-017) */
#lead .consent-line a { color: var(--navy); text-decoration: underline; }
#lead .consent-line + .consent-line { margin-top: 4px; }
#lead .contact-grid { margin-top: 4px; }
#meeting-hint { margin: 10px 0 14px; }
#result .security-check { margin-top: 0; }
#result .success { margin: 0 -32px; }

/* Ineligible (R3) and no-JS messages reuse the hint/success styles */
.stage-message { padding: 4px 0 8px; }
.stage-message .btn { margin-top: 14px; }
.nojs { padding: 34px 32px; }
.nojs p { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0 0 16px; }
.nojs .btn { margin-inline-end: 8px; margin-bottom: 8px; }

@media (max-width: 600px) {
  .result-head { padding-inline: 19px; }
  .result-actions { grid-template-columns: 1fr; }
  .result-row { grid-template-columns: 1fr; gap: 8px; }
  .result-tag { justify-self: start; }
  .nojs { padding: 25px 19px; }
  #result .success { margin: 0 -19px; }
}
