/* Operations Health Check: form, progress, and answer-based report. */
.health-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + 56px) 0 52px;
  color: #fff;
  background: radial-gradient(ellipse at 90% 20%, #103758 0, #061a2e 42%, #031224 80%);
}
.health-hero::before {
  position: absolute;
  inset: 0;
  content: '';
  pointer-events: none;
  opacity: .24;
  background-image: radial-gradient(circle, #5486b3 1px, transparent 1px);
  background-size: 25px 25px;
  mask-image: linear-gradient(90deg, transparent 45%, #000);
}
.health-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  gap: 64px;
}
.health-hero .eyebrow { color: #79dce4; margin-bottom: 17px; }
.health-hero h1 { max-width: 820px; font-size: clamp(2.35rem, 4vw, 3.55rem); line-height: 1.1; margin-bottom: 20px; }
.health-hero p { max-width: 690px; color: #bfcede; font-size: 1.04rem; margin-bottom: 0; }
.health-hero .contact-email { flex-wrap: wrap; gap: 4px 9px; width: fit-content; color: #b7c9dc; font-size: .79rem; margin: 24px 0 0; }
.health-hero .contact-email span { color: #e1edfa; }
.health-hero .contact-email:hover span { color: #79c6ff; }
.health-hero-note {
  border: 1px solid #36536e;
  border-radius: 12px;
  padding: 25px 27px;
  background: rgba(12, 39, 63, .65);
  box-shadow: inset 0 1px rgba(255, 255, 255, .04);
}
.health-hero-note > *:last-child { margin-bottom: 0; }
.health-hero-note strong { display: block; color: #fff; font-size: 1.02rem; font-weight: 600; margin-bottom: 8px; }
.health-hero-note p, .health-hero-note span { color: #b8cce0; font-size: .83rem; line-height: 1.7; }
.health-hero-note .icon { color: #6bb5ff; width: 30px; height: 30px; margin-bottom: 15px; }
.health-hero-note .eyebrow { font-size: .63rem; margin-bottom: 16px; }
.health-note-footer { display: block; margin-top: 19px; padding-top: 15px; border-top: 1px solid #36536e; font-size: .72rem !important; }
.health-hero-note ul { display: grid; gap: 12px; }
.health-hero-note li { display: flex; gap: 10px; align-items: center; color: #d4e2ef; font-size: .86rem; }
.health-hero-note li::before { content: '✓'; color: #6ee0d4; font-weight: 700; }

.health-section { padding: 50px 0 80px; background: #f6f8fb; }
.health-section [hidden] { display: none !important; }
#step-title, #results-title { scroll-margin-top: calc(var(--header-height) + 24px); }
.assessment-panel, .results-header, #contact-form { scroll-margin-top: calc(var(--header-height) + 24px); }
.health-section h2:focus { outline: none; }
.health-section p, .health-section li, .health-section dd { overflow-wrap: anywhere; }
.optional-label { font-weight: 400; color: #68798f; }
.assessment-layout { display: grid; grid-template-columns: 265px minmax(0, 1fr); align-items: start; gap: 36px; }
.assessment-layout > *, .assessment-fields > *, .assessment-profile > * { min-width: 0; }
.assessment-sidebar { position: sticky; top: calc(var(--header-height) + 24px); padding: 10px 0; }
.assessment-sidebar > .eyebrow { margin-left: 14px; font-size: .66rem; margin-bottom: 11px; }
.assessment-sidebar h2 { font-size: 1.3rem; line-height: 1.3; letter-spacing: -.025em; margin: 0 0 15px 14px; }
.assessment-step-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 5px; }
.assessment-step-list li { margin: 0; }
.assessment-step {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #5c6c82;
  text-align: left;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}
.assessment-step:hover { background: #eaf0f7; color: #173d6d; }
.assessment-step .step-number {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  margin: 0;
  border: 1px solid #d3dce7;
  color: #657890;
  background: #fff;
  font-size: .75rem;
  font-weight: 600;
}
.assessment-step .step-label { font-size: .83rem; font-weight: 500; line-height: 1.4; }
.assessment-step[aria-current="step"] { background: #e7f0fe; border-color: #c5dafa; color: #1459b8; }
.assessment-step[aria-current="step"] .step-number { background: #176fec; border-color: #176fec; color: #fff; }
.assessment-step.is-complete .step-number, .assessment-step[data-complete="true"] .step-number { background: #e2f4ee; border-color: #b2dccf; color: #19735c; }
.assessment-step:disabled { cursor: default; opacity: .65; }
.assessment-sidebar-note { margin: 0 14px 25px; color: #68798f; font-size: .78rem; }
.assessment-sidebar-note p { margin-bottom: 11px; }
.assessment-panel { padding: clamp(24px, 3.5vw, 44px); border: 1px solid #dce3ec; border-radius: 12px; background: #fff; box-shadow: 0 12px 35px rgba(12, 40, 71, .035); }
.assessment-panel-header { margin-bottom: 33px; }
.assessment-panel-header .eyebrow { margin-bottom: 11px; font-size: .71rem; }
.assessment-panel-header h2 { font-size: clamp(1.7rem, 2.6vw, 2.25rem); line-height: 1.15; margin-bottom: 13px; }
.assessment-panel-header p { color: #65758b; font-size: .91rem; margin-bottom: 19px; max-width: 650px; }
.assessment-progress-label { display: flex; justify-content: space-between; gap: 16px; align-items: center; color: #718198; font-size: .73rem; margin-bottom: 9px; }
.assessment-progress { display: block; width: 100%; height: 5px; overflow: hidden; appearance: none; border: 0; border-radius: 5px; background: #e9eef5; accent-color: #176fec; }
.assessment-progress::-webkit-progress-bar { background: #e9eef5; border-radius: 5px; }
.assessment-progress::-webkit-progress-value { background: #176fec; border-radius: 5px; }
.assessment-progress::-moz-progress-bar { background: #176fec; border-radius: 5px; }
.assessment-progress + h2 { margin-top: 27px; }
.assessment-fields { display: grid; gap: 30px; }
.assessment-profile { gap: 22px 24px; }
.assessment-profile .field label { color: #2e425c; font-weight: 600; font-size: .8rem; }
.assessment-profile .field input, .assessment-profile .field select { min-height: 47px; font-size: .88rem; }
.assessment-profile .field input::placeholder, .context-field textarea::placeholder { color: #8994a5; opacity: 1; }
.assessment-profile .field small, .field-hint { display: block; margin-top: 7px; color: #738299; font-size: .75rem; }
.assessment-question { min-width: 0; margin: 0; padding: 0; border: 0; }
.assessment-question + .assessment-question { border-top: 1px solid #e7ecf2; padding-top: 30px; }
.assessment-question legend { display: block; float: left; width: 100%; margin: 0 0 15px; padding: 0; color: #152b46; font-size: .99rem; font-weight: 600; line-height: 1.55; letter-spacing: -.01em; }
.assessment-question legend + * { clear: both; }
.question-number { color: #176fec; margin-right: 7px; }
.question-hint { margin: -4px 0 14px; color: #718198; font-size: .81rem; line-height: 1.6; }
.assessment-options { display: grid; gap: 9px; }
.assessment-option {
  display: flex;
  min-width: 0;
  min-height: 49px;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 15px;
  color: #455870;
  border: 1px solid #dce3ec;
  border-radius: 6px;
  background: #fff;
  font-size: .86rem;
  line-height: 1.55;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.assessment-option:hover { background: #f7faff; border-color: #a9c6ec; }
.assessment-option:has(input:checked) { color: #114d9d; border-color: #4e91ec; background: #f0f6ff; box-shadow: 0 0 0 1px rgba(23, 111, 236, .05); }
.assessment-option input { flex: 0 0 17px; width: 17px; height: 17px; margin: 2px 0 0; accent-color: #176fec; cursor: pointer; }
.assessment-option span { min-width: 0; }
.assessment-option:has(input:disabled) { cursor: not-allowed; opacity: .55; }
.assessment-option:has(input:focus-visible) { outline: 3px solid #90baf1; outline-offset: 3px; }
.hours-field { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin-bottom: 15px; color: #5c6d83; font-size: .86rem; }
.hours-field input, .estimate-field input {
  min-height: 46px;
  max-width: 160px;
  width: 120px;
  border: 1px solid #d5dde7;
  border-radius: 6px;
  padding: 9px 13px;
  color: #153453;
  background: #fff;
}
.inline-option { display: flex; align-items: flex-start; gap: 10px; color: #66778d; font-size: .82rem; cursor: pointer; }
.inline-option input { flex: 0 0 17px; width: 17px; height: 17px; margin: 3px 0 0; accent-color: #176fec; }
.estimate-field { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 15px; border: 1px solid #e2e8f0; padding: 15px; margin-top: 13px; border-radius: 6px; background: #f8fafc; color: #66778d; font-size: .79rem; }
.estimate-field label { flex: 1 1 240px; }
.estimate-field input { flex: 0 1 112px; background: #fff; }
.context-field { min-width: 0; }
.context-field label { display: block; font-weight: 600; font-size: .93rem; color: #213952; margin-bottom: 11px; }
.context-field textarea { display: block; width: 100%; min-height: 170px; border: 1px solid #d5dde7; border-radius: 6px; padding: 15px; color: #213952; font-size: .88rem; line-height: 1.65; resize: vertical; background: #fff; }
.character-count { text-align: right; margin: 7px 0 0; color: #748399; font-size: .73rem; }
.assessment-notice { padding: 15px 18px; border-left: 3px solid #72a9ed; border-radius: 0 5px 5px 0; background: #f1f6fd; color: #58718e; font-size: .81rem; line-height: 1.65; }
.assessment-notice p:last-child { margin-bottom: 0; }
.assessment-consent { display: flex; align-items: flex-start; gap: 11px; color: #64758b; font-size: .8rem; line-height: 1.7; }
.assessment-consent input { flex: 0 0 18px; width: 18px; height: 18px; margin: 4px 0 0; accent-color: #176fec; }
.assessment-toolbar { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 18px; }
.assessment-toolbar > .text-button { margin-left: auto; }
.assessment-resume { flex: 1; min-width: 220px; padding: 14px 18px; border: 1px solid #c8dfd9; background: #f0f8f5; border-radius: 6px; color: #3b6d5f; font-size: .8rem; }
.assessment-resume p { margin: 0; }
.assessment-navigation { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 34px; padding-top: 25px; border-top: 1px solid #e4eaf2; }
.assessment-navigation .button { font-size: .86rem; min-height: 47px; }
.assessment-navigation .button-primary { margin-left: auto; }
.health-section .button-secondary { color: #335370; border: 1px solid #ccd8e6; background: #fff; box-shadow: none; }
.health-section .button-secondary:hover { background: #eff4fa; border-color: #8fafd6; }
.health-section .button:disabled { cursor: not-allowed; opacity: .55; transform: none; box-shadow: none; }
.text-button { padding: 4px 0; border: 0; background: none; color: #1764c8; font-size: .8rem; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; line-height: 1.5; }
.text-button:hover { color: #0b417f; }
.health-section button:focus-visible, .health-section a:focus-visible { outline: 3px solid #86b4f3; outline-offset: 4px; }
.health-section input:focus-visible, .health-section textarea:focus-visible, .health-section select:focus-visible { outline: 2px solid #72a6ea; outline-offset: 2px; }
.health-section [aria-invalid="true"] { border-color: #c14646; }
.assessment-error { color: #a53434; background: #fff3f2; border-left: 3px solid #d57570; padding: 12px 15px; margin: 20px 0 0; font-size: .83rem; border-radius: 0 4px 4px 0; }
.assessment-error:empty { display: none; }
.assessment-panel:focus, .assessment-results:focus { outline: none; }

/* Report: each conclusion stays close to its supporting answers. */
.assessment-results { max-width: 1090px; margin-inline: auto; }
.results-header { position: relative; margin-bottom: 34px; padding-right: 145px; }
.results-header .eyebrow { font-size: .72rem; margin-bottom: 12px; }
.results-header h2 { margin-bottom: 13px; font-size: clamp(2rem, 3.2vw, 2.75rem); }
.results-header p { margin: 0; color: #65778e; font-size: .91rem; }
.results-header > .text-button { position: absolute; right: 0; top: 5px; }
.result-section { padding: clamp(24px, 3.5vw, 36px); margin-bottom: 22px; background: #fff; border: 1px solid #dce4ee; border-radius: 10px; box-shadow: 0 5px 18px rgba(12, 40, 71, .02); }
.result-section-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 25px; }
.result-section-heading h3 { margin: 0; font-size: 1.4rem; letter-spacing: -.025em; line-height: 1.2; }
.result-number { display: grid; place-items: center; flex: 0 0 31px; width: 31px; height: 31px; border-radius: 7px; background: #eaf2fe; color: #216bcb; font-weight: 600; font-size: .81rem; }
.snapshot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.snapshot-item { border-right: 1px solid #e5eaf1; padding-right: 24px; }
.snapshot-item:last-child { border: 0; padding-right: 0; }
.snapshot-item h4 { color: #2e5077; margin-bottom: 11px; font-size: .78rem; letter-spacing: .055em; text-transform: uppercase; }
.snapshot-item p { color: #596d85; font-size: .88rem; line-height: 1.75; margin: 0; }
.result-notice { padding-top: 20px; margin: 25px 0 0; border-top: 1px solid #e7ecf2; color: #7a8798; font-size: .77rem; }
.area-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.area-card { border: 1px solid #e0e7f0; border-radius: 7px; padding: 23px; }
.area-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.area-card-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 13px; }
.area-card-heading h4 { font-size: 1.01rem; line-height: 1.4; letter-spacing: -.015em; margin: 0; }
.result-badge { display: inline-flex; align-items: center; border: 1px solid #dce4ee; border-radius: 4px; padding: 4px 8px; color: #677a90; background: #f3f6f9; font-size: .66rem; line-height: 1.4; font-weight: 600; white-space: normal; }
.result-badge[data-status="Working well"] { background: #eaf7f1; color: #267055; border-color: #c9e7da; }
.result-badge[data-status="Needs attention"] { background: #fff6e8; color: #926221; border-color: #f1ddbd; }
.result-badge[data-status="Priority to investigate"] { background: #fff0ec; color: #a45136; border-color: #efcfc4; }
.result-badge[data-status="Explore further"] { background: #eff3fb; color: #576f9f; border-color: #d9e2f4; }
.result-badge[data-status="Not assessed"] { background: #f2f4f7; color: #768295; border-color: #e1e6ed; }
.area-card > p { font-size: .83rem; line-height: 1.75; color: #62758b; margin-bottom: 13px; }
.area-card > p:last-child { margin: 0; }
.evidence-list { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.evidence-list li { position: relative; padding-left: 14px; color: #65768c; font-size: .79rem; line-height: 1.65; }
.evidence-list li::before { content: ''; position: absolute; left: 0; top: .65em; height: 4px; width: 4px; background: #86a6cf; border-radius: 50%; }
.evidence-list strong, .evidence-list span { display: block; }
.evidence-list strong { font-weight: 500; color: #3b5676; }
.area-card summary { cursor: pointer; color: #1764c8; font-size: .78rem; }
.area-card details[open] summary { margin-bottom: 15px; }
.strength-card { border-left: 3px solid #71b6a2; padding: 3px 0 3px 21px; }
.strength-card h4 { color: #255e50; font-size: 1.13rem; margin-bottom: 14px; }
.strength-card p { color: #607489; font-size: .87rem; line-height: 1.75; margin: 14px 0 0; }
.strength-card p:first-child { margin-top: 0; }
.strength-card strong { color: #365b52; }
.priority-list { display: grid; gap: 23px; }
.priority-card { border: 1px solid #dce5ef; border-radius: 8px; overflow: hidden; }
.priority-heading { display: flex; gap: 13px; align-items: center; padding: 20px 24px; border-bottom: 1px solid #dce5ef; background: #f5f8fc; }
.priority-number { display: grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px; border: 1px solid #c6d9f0; color: #2b68b5; border-radius: 50%; font-size: .75rem; font-weight: 600; }
.priority-heading h4 { font-size: 1.08rem; line-height: 1.4; letter-spacing: -.02em; margin: 0; }
.priority-details { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 18px 28px; padding: 24px; margin: 0; }
.priority-details dt { font-size: .79rem; line-height: 1.65; color: #34526f; font-weight: 600; }
.priority-details dd { margin: 0; font-size: .83rem; line-height: 1.75; color: #62758b; }
.priority-details dd p:last-child { margin: 0; }
.next-steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.next-step { padding: 23px; border-radius: 7px; background: #f5f8fc; border: 1px solid #e0e7f1; }
.next-step h4 { display: flex; align-items: center; gap: 9px; font-size: 1.02rem; margin-bottom: 13px; color: #2763ac; }
.next-step p { margin: 0; font-size: .85rem; color: #61738a; line-height: 1.75; }
.personal-context { color: #61738a; font-size: .86rem; line-height: 1.75; }
.personal-context blockquote { margin: 0 0 22px; padding: 18px 21px; background: #f5f8fc; border-left: 3px solid #7fa8da; color: #3f5877; border-radius: 0 5px 5px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.personal-context h4 { color: #315474; font-size: .93rem; line-height: 1.5; margin: 23px 0 10px; }
.personal-context p:last-child { margin-bottom: 0; }
.personal-context ul, .personal-context ol { margin: 12px 0; padding-left: 21px; list-style: disc; }
.personal-context li + li { margin-top: 8px; }
.discuss-card { padding: 34px 36px; border: 1px solid #214769; border-radius: 10px; color: #fff; background: radial-gradient(ellipse at 90% 20%, #133b5d, #071e35 65%); }
.discuss-card h3 { color: #fff; margin-bottom: 11px; font-size: 1.65rem; }
.discuss-card p { color: #b5c9db; font-size: .9rem; margin-bottom: 24px; }
.results-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.results-actions .button { font-size: .85rem; }
.discuss-card .button-secondary { color: #fff; background: transparent; border-color: #53718c; }
.discuss-card .button-secondary:hover { color: #fff; background: #173954; border-color: #84a1bc; }
.discuss-card .delivery-status { margin: 19px 0 0; color: #9fb9cf; font-size: .76rem; }
.discuss-card .assessment-question { margin: 26px 0; }
.discuss-card .assessment-question legend { color: #fff; }
.discuss-card .question-hint { color: #b5c9db; }
.discuss-card .results-footnote { font-size: .76rem; text-align: left; margin: 16px 0 0; }
.timeline-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.results-footnote { margin: 22px 0 0; color: #76869a; font-size: .77rem; text-align: center; line-height: 1.75; }

@media (max-width: 1050px) {
  .health-hero-inner { grid-template-columns: minmax(0, 1fr) 235px; gap: 36px; }
  .health-hero-note { padding: 22px; }
  .assessment-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 23px; }
  .assessment-step { padding-inline: 10px; gap: 9px; }
  .assessment-step .step-label { font-size: .79rem; }
  .assessment-sidebar h2 { margin-left: 10px; }
  .assessment-sidebar > .eyebrow { margin-left: 10px; }
  .assessment-sidebar-note { margin-inline: 10px; }
  .area-card-heading { flex-direction: column; }
}
@media (max-width: 800px) {
  .health-hero { padding-top: calc(var(--header-height) + 38px); padding-bottom: 38px; }
  .health-hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .health-hero h1 { max-width: 660px; }
  .health-hero p { font-size: .93rem; }
  .health-hero-note { padding: 16px 20px; }
  .health-hero-note ul { display: flex; flex-wrap: wrap; gap: 10px 26px; }
  .health-hero-note > .icon { display: none; }
  .health-section { padding-top: 27px; padding-bottom: 55px; }
  .assessment-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .assessment-sidebar { position: static; min-width: 0; padding: 0; }
  .assessment-sidebar h2 { margin: 0 0 12px; font-size: .9rem; }
  .assessment-sidebar > .eyebrow { display: none; }
  .assessment-step-list { display: flex; gap: 7px; overflow-x: auto; padding: 1px 2px 9px; scrollbar-width: thin; scrollbar-color: #c5d6e9 transparent; }
  .assessment-step-list li { flex: 0 0 auto; }
  .assessment-step { max-width: 200px; width: auto; min-height: 46px; padding: 9px 12px; border-color: #dce3ec; background: #fff; }
  .assessment-step .step-label { white-space: nowrap; font-size: .78rem; }
  .assessment-step .step-number { width: 24px; height: 24px; flex-basis: 24px; }
  .assessment-sidebar-note { display: none; }
  .assessment-panel { padding: 28px; }
  .assessment-profile.form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .assessment-profile .field.full { grid-column: 1 / -1; }
  .snapshot-grid, .next-steps-grid { gap: 18px; }
  .snapshot-item { padding-right: 16px; }
  .priority-details { grid-template-columns: 150px minmax(0, 1fr); gap: 17px 20px; }
  .next-step { padding: 19px; }
}
@media (max-width: 600px) {
  .health-hero { padding-top: calc(var(--header-height) + 31px); padding-bottom: 30px; }
  .health-hero h1 { font-size: clamp(2.05rem, 8vw, 2.6rem); margin-bottom: 16px; }
  .health-hero .eyebrow { font-size: .69rem; margin-bottom: 13px; }
  .health-hero-note { padding: 15px 17px; }
  .health-hero-note li { font-size: .77rem; }
  .health-hero-note strong { font-size: .91rem; }
  .health-section { padding-top: 22px; }
  .assessment-panel { padding: 24px 19px; border-radius: 9px; }
  .assessment-panel-header { margin-bottom: 27px; }
  .assessment-panel-header h2 { font-size: 1.65rem; }
  .assessment-panel-header p { font-size: .86rem; }
  .assessment-profile.form-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .assessment-profile .field.full { grid-column: auto; }
  .assessment-profile .field input, .assessment-profile .field select, .context-field textarea, .hours-field input, .estimate-field input { font-size: 16px; }
  .assessment-fields { gap: 27px; }
  .assessment-question + .assessment-question { padding-top: 26px; }
  .assessment-question legend { font-size: .93rem; }
  .assessment-option { font-size: .82rem; padding: 12px; gap: 10px; }
  .assessment-option input { flex-basis: 17px; }
  .assessment-navigation { gap: 10px; margin-top: 29px; padding-top: 22px; }
  .assessment-navigation .button { padding-inline: 15px; font-size: .81rem; }
  .assessment-notice { padding: 13px 14px; font-size: .78rem; }
  .assessment-consent { font-size: .78rem; }
  .timeline-options { grid-template-columns: minmax(0, 1fr); }
  .results-header { padding-right: 0; margin-bottom: 24px; }
  .results-header h2 { font-size: 1.9rem; }
  .results-header > .text-button { position: static; display: inline-block; margin-top: 17px; }
  .result-section { padding: 24px 19px; margin-bottom: 16px; }
  .result-section-heading { gap: 10px; margin-bottom: 23px; }
  .result-section-heading h3 { font-size: 1.25rem; }
  .result-number { flex-basis: 28px; width: 28px; height: 28px; }
  .snapshot-grid, .area-results, .next-steps-grid { grid-template-columns: minmax(0, 1fr); }
  .snapshot-grid { gap: 21px; }
  .snapshot-item { padding: 0 0 21px; border-right: 0; border-bottom: 1px solid #e5eaf1; }
  .snapshot-item:last-child { padding-bottom: 0; }
  .snapshot-item h4 { margin-bottom: 8px; }
  .area-card { padding: 19px; }
  .area-card-heading { flex-direction: row; }
  .priority-heading { padding: 17px; gap: 10px; }
  .priority-heading h4 { font-size: .97rem; }
  .priority-details { grid-template-columns: minmax(0, 1fr); padding: 19px; gap: 6px; }
  .priority-details dd { margin-bottom: 13px; }
  .priority-details dd:last-child { margin-bottom: 0; }
  .priority-details dt { font-size: .78rem; }
  .next-steps-grid { gap: 12px; }
  .next-step { padding: 19px; }
  .next-step h4 { margin-bottom: 9px; }
  .strength-card { padding-left: 16px; }
  .personal-context blockquote { padding: 15px 17px; }
  .discuss-card { padding: 27px 22px; }
  .discuss-card h3 { font-size: 1.4rem; }
  .results-actions { flex-direction: column; align-items: stretch; gap: 11px; }
  .results-actions .button { width: 100%; }
  .results-footnote { font-size: .74rem; text-align: left; }
}
@media print {
  .site-header, .site-footer, .health-hero, .assessment-layout, .assessment-toolbar, .results-header .text-button, .results-actions, .delivery-status { display: none !important; }
  .health-section { padding: 0; background: #fff; }
  .health-section .container, .assessment-results { width: 100%; max-width: none; }
  .results-header { padding: 0; }
  .result-section { box-shadow: none; break-inside: avoid; padding: 20px; margin-bottom: 16px; }
  .priority-card, .area-card, .next-step { break-inside: avoid; }
  .discuss-card { background: #fff; border-color: #dce3ec; color: #102d48; }
  .discuss-card h3, .discuss-card p { color: #102d48; }
  .result-badge { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
/* Assessment controls. Native radios and checkboxes retain keyboard semantics. */
.segmented-choice { display: grid; grid-template-columns: repeat(var(--stops), minmax(0, 1fr)); gap: 5px; padding: 6px; border: 1px solid #dde7f1; border-radius: 14px; background: #f2f6fa; }
.segmented-choice .segmented-stop { position: relative; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 13px 8px; gap: 9px; font-size: .8rem; line-height: 1.4; border-radius: 9px; border-color: transparent; background: transparent; min-height: 78px; color: #486079; }
.segmented-choice .segmented-stop:hover { background: #fff; border-color: #d5e2f1; }
.segmented-choice .segmented-stop:has(input:checked) { background: #fff; color: #114f9f; border-color: #8bb9f4; box-shadow: 0 0 7px rgba(23, 111, 236, .16); font-weight: 600; }
.segmented-choice input { appearance: none; display: grid; place-content: center; width: 20px; height: 20px; flex: 0 0 20px; border: 1.5px solid #aebed0; border-radius: 50%; background: white; margin: 0; }
.segmented-choice input:checked { background: #176fec; border-color: #176fec; }
.segmented-choice input:checked::after { content: ''; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.selected-description { margin: 11px 4px 0; padding: 0 0 0 12px; border-left: 2px solid #94bdef; color: #496785; font-size: .81rem; line-height: 1.6; }
.selected-description:empty { display: none; }
.uncertainty-options { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 13px; }
.uncertainty-options .assessment-option { min-height: 44px; align-items: center; padding: 9px 13px; font-size: .8rem; border-color: transparent; border-radius: 22px; background: #f6f8fb; color: #5b6e84; }
.uncertainty-options .assessment-option:has(input:checked) { border-color: #a5c6ef; background: #edf5ff; color: #174f94; }
.uncertainty-options input { margin: 0; }
.answer-card-group .assessment-option { border-radius: 9px; padding: 12px 15px; }
.multi-select-chip-group { display: flex; flex-wrap: wrap; gap: 9px; }
.multi-select-chip-group .assessment-option { align-items: center; border-radius: 12px; min-height: 45px; padding: 10px 14px; font-size: .82rem; max-width: 100%; }
.multi-select-chip-group input { margin: 0; }
.selection-feedback { margin: 10px 0 0; font-size: .77rem; line-height: 1.5; color: #456588; }
.numeric-range > label { display: block; color: #45617d; font-size: .82rem; margin-bottom: 10px; }
.numeric-range .hours-field { display: inline-flex; flex-wrap: nowrap; background: #f4f8fe; padding: 8px; gap: 9px; border: 1px solid #dce7f3; border-radius: 12px; }
.numeric-range .hours-field button { flex: 0 0 44px; width: 44px; min-height: 44px; border: 1px solid #c6d8ed; background: white; color: #175cae; border-radius: 8px; font-size: 1.4rem; cursor: pointer; }
.numeric-range .hours-field button:disabled { opacity: .45; cursor: default; }
.numeric-range .hours-field input { width: 80px; text-align: center; font-size: 1.2rem; font-weight: 600; padding: 8px 4px; appearance: textfield; }
.numeric-range input::-webkit-inner-spin-button { appearance: none; }
.numeric-range input:disabled { background: #e7edf5; color: #65758b; }
.micro-context { padding: 15px; margin-top: 16px; border-left: 3px solid #bdd5f2; background: #f7faff; border-radius: 0 8px 8px 0; }
.micro-context[hidden] { display: none; }
.micro-context label { display: block; font-size: .81rem; color: #385574; margin-bottom: 8px; }
.micro-context input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #cbd8e7; border-radius: 6px; background: white; }
.micro-context small { display: block; margin-top: 7px; font-size: .74rem; color: #536c85; }
@media (max-width: 1050px) { .segmented-choice { grid-template-columns: repeat(3, minmax(0, 1fr)); }  }
@media (max-width: 540px) {
  .segmented-choice { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .segmented-choice .segmented-stop { flex-direction: row; text-align: left; min-height: 58px; padding: 11px 9px; font-size: .78rem; gap: 9px; }
  .segmented-stop input { outline: none; }
  .assessment-fields { gap: 26px; }
  .multi-select-chip-group .assessment-option { font-size: .8rem; padding: 10px 12px; }
}

/* Compact context and grouped inventory share the assessment's blue / slate palette. */
.numeric-range + .inline-option { display: inline-flex; min-height: 44px; padding: 10px 14px; border-radius: 22px; background: #f7f9fc; }
.micro-context { background: #fafcfe; border: 1px solid #e3ebf4; border-radius: 10px; padding: 16px 18px; }
.tool-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tool-category { min-width: 0; padding: 20px; border: 1px solid #e0e8f1; border-radius: 12px; background: #f8fafd; }
.tool-category h3 { color: #4b6580; font-size: .78rem; font-weight: 600; line-height: 1.5; letter-spacing: .015em; margin: 0 0 14px; }
.tools-question .assessment-option { background: #fff; border-color: #d6e1ed; border-radius: 8px; font-size: .79rem; padding: 10px 12px; }
.tools-question .assessment-option:has(input:checked) { background: #eaf3ff; border-color: #77a9e9; color: #164f97; }
.tools-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding-top: 18px; }
.tools-footer .selection-feedback { margin: 0; }
@media (max-width: 760px) { .tool-groups { grid-template-columns: 1fr; gap: 12px; } .tool-category { padding: 17px; } }
@media (forced-colors: active) { .segmented-choice input { appearance: auto; } .segmented-choice input:checked::after { display: none; } .segmented-choice .segmented-stop:has(input:checked) { outline: 2px solid Highlight; } }
.capture-notice { margin: 25px 0 0; font-size: .76rem; line-height: 1.7; color: #5c7189; }
.checkpoint-status { margin-top: 15px; color: #59718a; font-size: .8rem; }
.checkpoint-status:has(#save-message:empty):has(#retry-save[hidden]) { display: none; }
.information-review { padding: 24px; border: 1px solid #dae5f1; border-radius: 12px; background: #f8fbfe; }
.information-review dl { display: grid; grid-template-columns: 1fr 1fr; gap: 23px; margin: 0 0 22px; }
.information-review dt { font-size: .77rem; color: #657c94; margin-bottom: 5px; }
.information-review dd { margin: 0; color: #173b60; font-size: .95rem; overflow-wrap: anywhere; }
@media(max-width:540px) { .information-review dl { grid-template-columns: 1fr; } }
.assessment-access { max-width: 760px; margin: 0 auto; }
.assessment-access h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.assessment-access > p { color: #536c86; font-size: .9rem; line-height: 1.7; }
.assessment-access .field input { width: 100%; min-height: 48px; border: 1px solid #cbd9e9; border-radius: 8px; padding: 11px 13px; }
.access-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.access-actions .button { font-size: .85rem; }
#access-message:not(:empty) { border-left: 3px solid #7facde; padding: 12px 16px; background: #f1f7fe; }
@media(max-width:540px) { .access-actions { flex-direction: column; } }
