/* BetterLife SG Family Trusts v39.2 — audited UX corrections */

/* Start with one primary action. The page cards now determine the route. */
.footer-start {
  grid-template-columns: max-content max-content 1fr;
}

@media (min-width: 1101px) {
  .start-screen {
    grid-template-rows: minmax(0, 1.2fr) 24px auto auto;
  }

  .decision-lanes {
    align-items: start;
  }

  .decision-lanes article {
    align-self: start;
    grid-template-rows: auto auto;
    align-content: start;
  }

  .decision-lanes article > button {
    margin-top: 8px;
  }
}

/* Multi-select choices use checkbox language and shape; arrows remain single-choice only. */
.question-choices button.choice-multi-v392 {
  grid-template-columns: 26px minmax(0, 1fr);
  padding-right: 20px;
}

.question-choices button.choice-multi-v392 > .choice-indicator-v392 {
  width: 23px;
  height: 23px;
  border-radius: 4px;
}

.question-choices button.choice-single-v392 > .choice-indicator-v392 {
  border-radius: 50%;
}

.question-choices button.choice-multi-v392 > strong,
.question-choices button.choice-multi-v392 > small {
  grid-column: 2;
}

.question-choices button.choice-multi-v392.selected > .choice-indicator-v392,
.question-choices button.choice-single-v392.selected > .choice-indicator-v392 {
  color: #fff;
  background: var(--v38-forest-800);
  border-color: var(--v38-forest-800);
}

.question-choices button.choice-exclusive-v392 {
  grid-column: 1 / -1;
  min-height: 80px;
  margin-top: 10px;
  background: #f2efe7;
  border-top: 1px solid rgba(21, 58, 48, .2);
}

.question-choices button.choice-exclusive-v392 > small {
  color: #455b52;
}

/* The production result keeps these as sibling rows; join them visually into one route panel. */
.path-routes-v391 .route-list-v391 {
  margin-bottom: 0;
}

.path-routes-v391 .coordination-compare-v392 {
  margin-top: 0;
  padding: 14px 16px;
  border: 1px solid rgba(21, 58, 48, .14);
  border-top: 0;
  background: rgba(234, 215, 175, .24);
}

.path-routes-v391 .coordination-compare-v392 small {
  color: #53675e;
  font-size: 14px;
  line-height: 1.48;
}

.path-routes-v391 .coordination-clarification-v392 {
  margin-top: 0;
  padding: 13px 16px;
  border: 1px solid rgba(21, 58, 48, .14);
  border-top: 0;
  background: rgba(166, 77, 46, .05);
}

.path-routes-v391 .coordination-clarification-v392 p,
.path-routes-v391 .coordination-clarification-v392 li {
  font-size: 14px;
  line-height: 1.48;
}

/* The fixed action names the selected path before the user continues. */
.footer-result > button {
  min-width: 320px;
  gap: 18px;
}

.footer-result-copy-v392 {
  min-width: 0;
  display: grid;
  gap: 1px;
  text-align: left;
}

.footer-result-copy-v392 small {
  overflow: hidden;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer-result-copy-v392 strong {
  color: #fff;
  font-size: 14px;
  font-weight: 820;
  line-height: 1.3;
}

/* The brief always contains three role-based conversations, missing evidence and a bounded handoff. */
.brief-screen-v392 {
  align-items: start;
}

.brief-sheet-v392 {
  align-self: start;
}

.brief-conversations-v392 ol {
  display: grid;
  gap: 12px;
}

.brief-conversations-v392 ol li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 2px 0;
}

.brief-conversations-v392 ol li::before {
  grid-row: 1 / span 2;
}

.brief-conversations-v392 ol li > strong,
.brief-conversations-v392 ol li > span {
  grid-column: 2;
}

.brief-conversations-v392 ol li > strong {
  color: var(--v38-forest-900);
  font-size: 14px;
  line-height: 1.4;
}

.brief-conversations-v392 ol li > span {
  color: #53675e;
  font-size: 14px;
  line-height: 1.5;
}

.brief-confirm-v392 {
  padding-top: 18px;
}

.brief-confirm-v392 ul {
  margin: 10px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 7px;
}

.brief-confirm-v392 li {
  color: #53675e;
  font-size: 14px;
  line-height: 1.48;
}

.adviser-handoff-v392 {
  padding: 18px;
  display: grid;
  gap: 7px;
  background: #f2eadc;
  border-left: 3px solid var(--v38-gold);
}

.adviser-handoff-v392 > p:first-child {
  margin: 0;
  color: var(--v38-copper);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.adviser-handoff-v392 h2 {
  margin: 0;
  color: var(--v38-forest-900);
  font: 590 24px/1.1 var(--v38-serif);
}

.adviser-handoff-v392 > strong {
  color: var(--v38-forest-800);
  font-size: 14px;
}

.adviser-handoff-v392 > p:not(:first-child) {
  margin: 0;
  color: #40544b;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: normal;
  text-transform: none;
}

.adviser-handoff-v392 .handoff-boundary-v392 {
  padding-top: 8px;
  border-top: 1px solid rgba(21, 58, 48, .14);
}

@media (max-width: 900px) {
  .question-choices button.choice-exclusive-v392 {
    grid-column: auto;
  }

  .footer-result > button {
    min-width: 0;
  }

  .footer-result-copy-v392 small {
    max-width: 190px;
  }

  .brief-conversations-v392 ol li > strong,
  .brief-conversations-v392 ol li > span,
  .brief-confirm-v392 li,
  .adviser-handoff-v392 > strong,
  .adviser-handoff-v392 > p:not(:first-child) {
    font-size: 15px;
  }
}

@media (max-width: 420px) {
  .footer-result-copy-v392 small {
    max-width: 155px;
  }

  .footer-result-copy-v392 strong {
    font-size: 13px;
  }

}

@media (max-width: 820px) {
  .brief-sheet-v392 {
    height: auto;
    max-height: none;
    overflow: visible;
  }
}

@media print {
  .brief-confirm-v392,
  .adviser-handoff-v392,
  .brief-conversations-v392 li {
    break-inside: avoid;
  }

  .adviser-handoff-v392 {
    background: #f7f1e6 !important;
  }
}
