/* Prototype overrides for the assessment page: one centered column, a time-left label and a call button. */
.assessment-layout { display: flex; flex-direction: column; align-items: center; gap: clamp(20px, 3vw, 30px); padding-block: clamp(30px, 5vw, 56px) clamp(48px, 7vw, 88px); }
.assessment-intro h1 { max-width: 16em; margin: 0; text-align: center; text-wrap: balance; font-size: clamp(34px, 5vw, 54px); line-height: 1.06; letter-spacing: -.045em; }
.assessment-card { width: 100%; max-width: 680px; }
.assessment-progress { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 16px; }
.assessment-progress p { margin: 0; }
.assessment-progress progress { grid-column: 1 / -1; }
.assessment-time { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: #28397d !important; }
.assessment-time svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.assessment-call {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px;
  border: 1px solid #2e4490; border-radius: 6px; background: #fbfaffbf; color: #28397d; font-size: 14px; font-weight: 650; text-decoration: none;
}
.assessment-call:hover { background: #fff; }
@media (max-width: 760px) {
  .assessment-intro h1 { text-align: left; font-size: clamp(32px, 9vw, 40px); }
  .assessment-layout { align-items: stretch; }
}

/* Quick answers under the qualifying question */
.quick-answers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.quick-answers button {
  min-height: 44px; padding: 6px 8px; border: 1px solid #adb9d3; border-radius: 8px; background: #fff;
  font: inherit; font-size: 14px; font-weight: 650; line-height: 1.2; color: #28397d; text-align: center; cursor: pointer;
}
.quick-answers button:hover { border-color: #293e8c; }
.quick-answers button[aria-pressed="true"] { background: #293e8c; border-color: #293e8c; color: #fff; }
.assessment-card .quick-answers { margin-bottom: 14px; }
.assessment-card .question-help { margin-bottom: 8px; }
@media (min-width: 600px) { .assessment-card .quick-answers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.assessment-card #challenge { min-height: 96px; }
@media (min-width: 600px) { .assessment-card .quick-answers-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Multi-select answers in the same even grid as the quick answers */
.option-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.option-grid .assessment-option { min-height: 48px; padding: 8px 12px; gap: 10px; border-color: #adb9d3; border-radius: 8px; font-size: 14px; font-weight: 650; line-height: 1.2; color: #28397d; }
.option-grid .assessment-option:has(input:checked) { background: #e7ebf8; border-color: #293e8c; }
.option-grid .assessment-option input { accent-color: #293e8c; }
@media (min-width: 600px) { .option-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 600px) { .option-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Saved note under the buttons */
.assessment-saved { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0; font-size: 13px; color: #0f6b34; }
.assessment-saved[hidden] { display: none; }
.assessment-saved svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.assessment-saved button { min-height: 44px; margin-left: 8px; padding: 0 4px; border: 0; background: none; font: inherit; color: #45516e; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* The thank-you screen fills the card; the call button under the card hides once it shows. */
.assessment-card:has(#assessment-success:not([hidden])) + .assessment-call { display: none; }
.submission-note a { text-decoration: underline; text-underline-offset: 4px; }
