:root {
  --care-navy: #130c39;
  --care-navy-2: #130c39;
  --care-green: #259e48;
  --care-green-dark: color-mix(in srgb, #259e48 82%, #130c39);
  --care-green-soft: rgba(37, 158, 72, 0.1);
  --care-surface: #f4f6f3;
  --care-white: #ffffff;
  --care-text: #17172a;
  --care-muted: #575b67;
  --care-subtle: #6b6e78;
  --care-line: #dfe3dd;
  --care-shadow: 0 18px 55px rgba(21, 17, 61, 0.08);
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--care-surface);
  overscroll-behavior: none;
}

body {
  color: var(--care-text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-feature-settings: "ss01" 1, "cv02" 1;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(24, 134, 71, 0.3);
  outline-offset: 3px;
}

.screening-shell {
  display: grid;
  grid-template-columns: minmax(390px, 38vw) minmax(0, 1fr);
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  background: var(--care-surface);
}

.prototype-ribbon {
  position: fixed;
  z-index: 100;
  top: auto;
  right: 16px;
  bottom: 16px;
  left: auto;
  width: auto;
  transform: none;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(21, 17, 61, 0.9);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.025em;
  box-shadow: 0 10px 30px rgba(21, 17, 61, 0.16);
}

/* Linkerzijde: merk, mens en zorgvertrouwen. */
.brand-panel {
  position: relative;
  display: grid;
  grid-template-rows: auto auto minmax(130px, 1fr) auto;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  gap: 0;
  overflow: hidden;
  padding: clamp(28px, 4vh, 46px) clamp(28px, 3.7vw, 60px) clamp(22px, 3vh, 34px);
  background:
    radial-gradient(circle at 90% 5%, rgba(61, 181, 104, 0.18), transparent 28%),
    linear-gradient(155deg, var(--care-navy-2), var(--care-navy) 70%);
  color: white;
}

.brand-panel::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 6, 29, 0.2));
  content: "";
  pointer-events: none;
}

.brand-panel::after {
  display: none;
}

.brand-top,
.brand-story,
.brand-photo,
.brand-trust {
  position: relative;
  z-index: 1;
}

.brand-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-identity,
.mobile-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.brand-symbol {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
}

.brand-symbol img,
.welcome-symbol img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.brand-name strong {
  margin-top: 5px;
  color: white;
  font-size: 16px;
  font-weight: 730;
  letter-spacing: -0.02em;
}

.private-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  font-weight: 650;
}

.private-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6dde95;
  box-shadow: none;
}

.brand-story {
  max-width: 560px;
  margin: clamp(30px, 6vh, 68px) 0 clamp(20px, 3vh, 32px);
}

.mini-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: #8ce1aa;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.mini-label span {
  display: none;
}

.brand-story h2 {
  max-width: 560px;
  margin: 0 0 18px;
  color: white;
  font-size: clamp(39px, min(4vw, 6.5vh), 62px);
  font-weight: 610;
  letter-spacing: -0.05em;
  line-height: 1;
}

.brand-story > p:last-child {
  max-width: 490px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.55;
}

.brand-photo {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.23);
}

.brand-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 7, 35, 0.58));
  content: "";
  pointer-events: none;
}

.brand-photo > img {
  width: 100%;
  height: 100%;
  min-height: 130px;
  border-radius: 0;
  object-fit: cover;
  object-position: 50% 46%;
  filter: saturate(0.96) contrast(1.02);
  box-shadow: none;
}

.photo-caption {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(18, 14, 55, 0.8);
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  line-height: 1.35;
  backdrop-filter: blur(14px);
}

.photo-caption strong {
  color: white;
  font-size: 12px;
}

.caption-mark {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  place-items: center;
  border-radius: 9px;
  background: var(--care-green);
  color: white;
  font-size: 15px;
  font-weight: 800;
}

.brand-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: clamp(14px, 2.5vh, 24px);
}

.brand-trust div {
  display: flex;
  flex-direction: column;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-trust strong {
  color: white;
  font-size: 11px;
  font-weight: 700;
}

.brand-trust span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  line-height: 1.35;
}

/* Rechterzijde: eenvoudige, voorspelbare appbediening. */
.tool-panel {
  position: relative;
  display: grid;
  grid-template-rows: 50px minmax(0, 1fr);
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  padding: clamp(24px, 3.5vh, 38px) clamp(30px, 5vw, 92px) clamp(22px, 3.5vh, 38px);
  background: var(--care-surface);
}

#tool-root {
  display: block;
  min-height: 0;
  overflow: hidden;
}

.tool-header {
  display: flex;
  min-height: 0;
  align-items: center;
  justify-content: flex-end;
}

.mobile-brand {
  display: none;
}

.icon-button {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--care-line);
  border-radius: 50%;
  background: white;
  color: var(--care-navy);
  box-shadow: 0 6px 20px rgba(21, 17, 61, 0.05);
  -webkit-tap-highlight-color: transparent;
}

.icon-button[hidden] {
  display: none;
}

.icon-button:hover,
.icon-button:active {
  transform: none;
  background: #f7f8f6;
}

.icon-button span {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  font-size: 0;
}

.icon-button span::before,
.icon-button span::after {
  position: absolute;
  top: 7px;
  left: 1px;
  width: 14px;
  height: 1.6px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transform-origin: center;
}

.icon-button span::before {
  transform: rotate(45deg);
}

.icon-button span::after {
  transform: rotate(-45deg);
}

.welcome-screen,
.question-screen,
.result-screen {
  display: flex;
  width: min(720px, 100%);
  height: 100%;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  margin: 0 auto;
  padding: clamp(10px, 2vh, 24px) 0;
  animation: care-enter 260ms ease-out both;
}

@keyframes care-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.welcome-orbit {
  position: relative;
  display: grid;
  width: clamp(58px, 8vh, 72px);
  height: clamp(58px, 8vh, 72px);
  margin: 0 0 clamp(18px, 3vh, 28px);
  place-items: center;
  border: 1px solid #cfe7d5;
  border-radius: 18px;
  background: white;
  box-shadow: 0 12px 35px rgba(24, 134, 71, 0.1);
}

.welcome-orbit::before,
.welcome-orbit::after,
.orbit-one,
.orbit-two {
  display: none;
}

.welcome-symbol {
  display: block;
  width: 58%;
  height: 58%;
}

.tool-eyebrow {
  margin: 0 0 clamp(9px, 1.6vh, 15px);
  color: var(--care-green-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.tool-eyebrow > span {
  margin-right: 7px;
  padding: 5px 7px;
  border-radius: 6px;
  background: var(--care-green-soft);
  color: var(--care-green-dark);
  font-size: 9px;
}

.welcome-screen h1,
.question-copy h1,
.result-screen h1 {
  max-width: 700px;
  margin: 0;
  color: var(--care-navy);
  font-size: clamp(43px, min(4.6vw, 6.5vh), 64px);
  font-weight: 630;
  letter-spacing: -0.05em;
  line-height: 1;
}

.welcome-screen h1 em {
  color: var(--care-green);
  font-style: normal;
}

.welcome-copy,
.question-copy > p:last-child,
.result-description {
  max-width: 620px;
  margin: clamp(12px, 2.2vh, 21px) 0 0;
  color: var(--care-muted);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.5;
}

.welcome-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: clamp(18px, 3vh, 29px) 0 clamp(16px, 2.5vh, 24px);
}

.welcome-points > div {
  min-height: 96px;
  padding: 14px;
  border: 1px solid var(--care-line);
  border-radius: 14px;
  background: white;
  box-shadow: 0 8px 25px rgba(21, 17, 61, 0.035);
}

.welcome-points > div > span {
  color: var(--care-green-dark);
  font-size: 10px;
  font-weight: 800;
}

.welcome-points p {
  margin: 14px 0 0;
  color: var(--care-muted);
  font-size: 11px;
  line-height: 1.35;
}

.welcome-points strong {
  display: block;
  margin-bottom: 3px;
  color: var(--care-navy);
  font-size: 13px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.2;
  cursor: pointer;
}

.primary-action {
  border: 1px solid var(--care-green);
  background: var(--care-green);
  color: white;
  box-shadow: 0 12px 28px rgba(24, 134, 71, 0.18);
}

.primary-action:hover:not(:disabled) {
  transform: translateY(-1px);
  background: var(--care-green-dark);
  box-shadow: 0 15px 32px rgba(24, 134, 71, 0.23);
}

.secondary-action {
  border: 1px solid var(--care-line);
  background: white;
  color: var(--care-navy);
}

.medical-note,
.clinical-review {
  max-width: 620px;
  margin: 12px 0 0;
  color: #5d616c;
  font-size: 10px;
  line-height: 1.4;
}

.progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #5d616b;
  font-size: 11px;
  font-weight: 650;
}

.back-button,
.restart-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--care-navy);
  font-weight: 720;
  cursor: pointer;
}

.back-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
}

.back-button span {
  color: var(--care-green-dark);
}

.progress-track {
  height: 4px;
  margin: 10px 0 clamp(19px, 3.8vh, 36px);
  overflow: hidden;
  border-radius: 999px;
  background: #dfe3dd;
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--care-green);
}

.question-copy h1 {
  font-size: clamp(35px, min(3.9vw, 5.8vh), 54px);
}

.option-list {
  display: grid;
  gap: clamp(5px, 0.8vh, 8px);
  margin-top: clamp(14px, 2.6vh, 25px);
}

.body-locator {
  display: grid;
  gap: 9px;
  margin-top: clamp(12px, 2.1vh, 20px);
}

.body-locator-stage {
  position: relative;
  height: clamp(240px, 36vh, 330px);
  overflow: hidden;
  border: 1px solid #dce3dd;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 46%, rgba(24, 134, 71, 0.09), transparent 35%),
    linear-gradient(145deg, #ffffff, #f5f8f5);
  box-shadow: 0 12px 35px rgba(21, 17, 61, 0.045);
}

.body-locator-stage::before {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(44%, 220px);
  aspect-ratio: 1;
  border: 1px solid rgba(24, 134, 71, 0.1);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.anatomy-map {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: visible;
}

.anatomy-visual {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.body-locator-premium {
  background:
    radial-gradient(circle at 50% 48%, rgba(24, 134, 71, 0.095), transparent 39%),
    linear-gradient(145deg, #ffffff, #f3f7f4);
}

.anatomy-zone {
  cursor: pointer;
  outline: none;
  pointer-events: all;
  transform-box: fill-box;
  transform-origin: center;
  -webkit-tap-highlight-color: transparent;
}

.anatomy-base {
  pointer-events: none;
}

.anatomy-base > * {
  fill: #edf2ee;
  stroke: #87978f;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
  vector-effect: non-scaling-stroke;
}

.anatomy-hit-area > * {
  fill: rgba(255, 255, 255, 0.001);
  stroke: transparent;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 0;
  pointer-events: all;
}

.anatomy-highlight {
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
  filter: blur(4px);
  transition:
    opacity 180ms ease,
    filter 180ms ease;
}

.anatomy-highlight > * {
  fill: url("#anatomy-region-green");
  stroke: none;
}

.anatomy-zone:hover .anatomy-highlight {
  opacity: 0.56;
}

.anatomy-zone:focus-visible .anatomy-highlight {
  opacity: 0.86;
  filter: blur(3px) drop-shadow(0 4px 7px rgba(24, 134, 71, 0.22));
}

.anatomy-zone.selected .anatomy-highlight {
  opacity: 1;
  filter: blur(3px) drop-shadow(0 5px 9px rgba(24, 134, 71, 0.24));
}

.anatomy-zone:active .anatomy-highlight {
  opacity: 0.92;
}

.anatomy-detail,
.anatomy-spine {
  pointer-events: none;
}

.anatomy-detail circle {
  fill: #8f9b94;
}

.anatomy-detail path,
.anatomy-spine {
  fill: none;
  stroke: #a8b4ad;
  stroke-dasharray: 3 6;
  stroke-linecap: round;
  stroke-width: 1.3;
  vector-effect: non-scaling-stroke;
}

.body-figure {
  position: absolute;
  top: 5%;
  bottom: 2%;
  left: 50%;
  width: min(35%, 158px);
  transform: translateX(-50%);
}

.body-figure svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.body-figure circle,
.body-figure path:first-of-type {
  fill: rgba(21, 17, 61, 0.075);
  stroke: rgba(21, 17, 61, 0.23);
  stroke-width: 2;
}

.body-figure .body-centre-line {
  fill: none;
  stroke: rgba(24, 134, 71, 0.3);
  stroke-dasharray: 4 7;
  stroke-linecap: round;
  stroke-width: 2;
}

.body-point {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid #d5ded6;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--care-navy);
  box-shadow: 0 8px 24px rgba(21, 17, 61, 0.07);
  font-size: 12px;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.body-point:hover,
.body-point.selected {
  border-color: var(--care-green);
  background: var(--care-green-soft);
  box-shadow: 0 8px 24px rgba(24, 134, 71, 0.12);
}

.body-point:disabled {
  opacity: 1;
}

.body-point-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--care-green);
  box-shadow: 0 0 0 1px var(--care-green);
}

.body-point-neck {
  top: 15%;
  left: calc(50% + 34px);
}

.body-point-shoulder {
  top: 28%;
  right: calc(50% + 34px);
}

.body-point-back {
  top: 48%;
  left: calc(50% + 39px);
}

.body-point-knee {
  top: 70%;
  right: calc(50% + 23px);
}

.body-locator-other {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 26px;
  min-height: 58px;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 7px 12px;
  border: 1px solid #d9ded8;
  border-radius: 14px;
  background: white;
  color: var(--care-navy);
  text-align: left;
  box-shadow: 0 6px 20px rgba(21, 17, 61, 0.035);
  cursor: pointer;
}

.body-locator-other:hover,
.body-locator-other.selected {
  border-color: var(--care-green);
  background: var(--care-green-soft);
}

.body-locator-other:disabled {
  opacity: 1;
}

.body-locator-other-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--care-green-soft);
  color: var(--care-green-dark);
  font-size: 18px;
  font-weight: 500;
}

.body-locator-other > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.body-locator-other strong {
  font-size: 13px;
}

.body-locator-other small {
  color: var(--care-muted);
  font-size: 9px;
}

.body-locator-arrow {
  color: var(--care-green-dark);
  font-size: 17px;
}

.option-card {
  display: grid;
  grid-template-columns: 35px 1fr 36px;
  min-height: clamp(52px, 7.3vh, 66px);
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #d9ded8;
  border-radius: 13px;
  background: white;
  color: var(--care-text);
  text-align: left;
  box-shadow: 0 5px 17px rgba(21, 17, 61, 0.025);
}

.option-card:hover {
  transform: none;
  border-color: #9dc9aa;
  background: #fbfdfb;
  box-shadow: 0 8px 22px rgba(21, 17, 61, 0.055);
}

.option-card.selected {
  transform: none;
  border-color: var(--care-green);
  background: var(--care-green-soft);
  box-shadow: 0 0 0 2px rgba(24, 134, 71, 0.08);
}

.option-card:disabled {
  opacity: 1;
  cursor: default;
}

.option-index {
  display: grid;
  place-items: center;
  color: #5f636d;
  font-size: 10px;
  font-weight: 750;
}

.option-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.option-text strong {
  color: var(--care-navy);
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 690;
  line-height: 1.3;
}

.option-text small {
  color: var(--care-muted);
  font-size: 10px;
  line-height: 1.3;
}

.option-check {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: #f0f2ef;
  color: var(--care-navy);
  font-size: 14px;
}

.selected .option-check {
  background: var(--care-green);
  color: white;
}

.auto-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: clamp(8px, 1.4vh, 13px) 2px 0;
  color: #595d67;
  font-size: 10px;
}

.auto-note span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--care-green);
}

.result-screen {
  max-width: 700px;
}

.result-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(12px, 2vh, 18px);
}

.result-status .tool-eyebrow {
  margin: 0;
}

.result-icon {
  display: grid;
  width: clamp(36px, 5vh, 44px);
  height: clamp(36px, 5vh, 44px);
  aspect-ratio: 1;
  flex: 0 0 auto;
  margin: 0;
  place-items: center;
  box-sizing: border-box;
  border: 0;
  border-radius: 50%;
  background: var(--care-green);
  color: white;
  font-size: 20px;
  font-weight: 820;
  box-shadow: 0 8px 20px rgba(24, 134, 71, 0.2);
}

.result-icon-glyph {
  display: block;
  line-height: 1;
}

.result-fit .result-icon-glyph {
  width: 8px;
  height: 14px;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  border-radius: 1px;
  font-size: 0;
  transform: translateY(-2px) rotate(45deg);
}

.result-attention .result-icon {
  border-color: #f0d7b7;
  background: #fff5e9;
  color: #9a5413;
}

.result-urgent .result-icon {
  border-color: #edc9cb;
  background: #fff0f1;
  color: #a52e34;
}

.result-personal .result-icon {
  border-color: #d8d4ee;
  background: #f0eef9;
  color: var(--care-navy);
}

.result-screen h1 {
  font-size: clamp(38px, min(4.1vw, 5.9vh), 56px);
}

.result-fit h1 > span {
  display: block;
  margin-top: 5px;
  color: #3f4051;
  font-size: 0.62em;
  font-weight: 540;
  letter-spacing: -0.035em;
}

.result-context-grid {
  display: grid;
  grid-template-columns: minmax(175px, 0.75fr) minmax(0, 1.25fr);
  gap: 8px;
  margin: clamp(15px, 2.6vh, 24px) 0 10px;
}

.route-summary {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: clamp(15px, 2.6vh, 24px) 0 10px;
  padding: 13px 15px;
  border: 1px solid #d3e4d7;
  border-radius: 14px;
  background: linear-gradient(145deg, #edf8f0, #f7fbf8);
}

.result-context-grid .route-summary {
  height: 100%;
  margin: 0;
}

.result-attention .route-summary {
  border-color: #f0d7b7;
  background: #fff7ed;
}

.result-urgent .route-summary {
  border-color: #edc9cb;
  background: #fff3f3;
}

.route-summary span {
  color: var(--care-green-dark);
  font-size: 8px;
  font-weight: 760;
  letter-spacing: 0.035em;
}

.route-summary strong {
  color: var(--care-navy);
  font-size: 15px;
  letter-spacing: -0.02em;
}

.route-summary small {
  color: var(--care-green-dark);
  font-size: 9px;
  font-weight: 680;
}

.personal-summary {
  margin-bottom: 10px;
  padding: 12px 14px;
  border: 1px solid var(--care-line);
  border-radius: 14px;
  background: white;
}

.result-context-grid .personal-summary {
  height: 100%;
  margin: 0;
}

.personal-summary > span {
  display: block;
  margin-bottom: 5px;
  color: var(--care-navy);
  font-size: 9px;
  font-weight: 740;
}

.personal-summary p {
  margin: 0;
  color: var(--care-muted);
  font-size: 11px;
  line-height: 1.4;
}

.care-continuum {
  margin-bottom: 10px;
  padding: 13px 14px 11px;
  border: 1px solid #e1e4df;
  border-radius: 16px;
  background: #fbfcfa;
  box-shadow: 0 10px 30px rgba(21, 17, 61, 0.05);
}

.continuum-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 11px;
}

.continuum-heading > div > span {
  display: block;
  margin-bottom: 2px;
  color: var(--care-green-dark);
  font-size: 8px;
  font-weight: 720;
}

.continuum-heading > div > strong {
  display: block;
  color: var(--care-navy);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.continuum-heading > small {
  max-width: 150px;
  color: var(--care-subtle);
  font-size: 8px;
  line-height: 1.25;
  text-align: right;
}

.continuum-heading > small > strong {
  display: block;
  margin-bottom: 1px;
  color: var(--care-navy);
  font-size: 8px;
}

.continuum-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.continuum-grid > li {
  min-width: 0;
  padding: 0 12px;
}

.continuum-grid > li:first-child {
  padding-left: 0;
}

.continuum-grid > li:last-child {
  padding-right: 0;
}

.continuum-grid > li + li {
  border-left: 1px solid #e3e8e2;
}

.continuum-number {
  display: block;
  margin-bottom: 6px;
  color: #9bbba3;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.06em;
}

.continuum-grid p {
  min-width: 0;
  margin: 0;
}

.continuum-grid strong,
.continuum-grid small {
  display: block;
}

.continuum-grid strong {
  color: var(--care-navy);
  font-size: 10px;
  line-height: 1.25;
}

.continuum-grid small {
  margin-top: 3px;
  color: var(--care-muted);
  font-size: 8px;
  line-height: 1.3;
}

.therapist-match {
  margin-bottom: 10px;
  padding: 10px 12px 9px;
  border: 1px solid #e1e4df;
  border-radius: 16px;
  background: white;
}

.match-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 7px;
}

.match-heading strong {
  color: var(--care-navy);
  font-size: 11px;
}

.match-heading span {
  color: var(--care-subtle);
  font-size: 9px;
  text-align: right;
}

.match-heading .google-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--care-muted);
  white-space: nowrap;
}

.google-rating b {
  color: #f4ad16;
  font-size: 11px;
}

.google-rating strong {
  color: var(--care-navy);
  font-size: inherit;
}

.therapist-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
}

.therapist-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  padding: 3px 2px;
  text-align: center;
}

.therapist-card.echo-capable {
  border-radius: 10px;
  background: #f5faf6;
}

.therapist-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  overflow: hidden;
  place-items: center;
  margin-bottom: 4px;
  border: 2px solid white;
  border-radius: 50%;
  background: #eef0ed;
  color: white;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 0 0 1px #dce1db;
}

.echo-capable .therapist-avatar {
  box-shadow: 0 0 0 2px rgba(24, 134, 71, 0.38);
}

.therapist-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.therapist-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.therapist-copy strong {
  color: var(--care-navy);
  font-size: 10px;
}

.therapist-copy small {
  color: var(--care-muted);
  font-size: 7px;
  font-weight: 620;
}

.therapist-copy em {
  display: -webkit-box;
  margin-top: 2px;
  overflow: hidden;
  color: var(--care-muted);
  font-size: 8px;
  font-style: normal;
  line-height: 1.25;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.therapist-copy .echo-route-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 3px auto 0;
  padding: 2px 4px;
  border-radius: 4px;
  background: #e2f3e7;
  color: var(--care-green-dark);
  font-size: 6px;
  font-weight: 760;
  line-height: 1.2;
  -webkit-line-clamp: unset;
}

.match-note {
  margin: 6px 0 0;
  padding-top: 6px;
  border-top: 1px solid #ecefeb;
  color: var(--care-subtle);
  font-size: 8px;
  line-height: 1.25;
  text-align: center;
}

.result-steps {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.result-steps li {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 10px;
  padding: clamp(6px, 1vh, 9px) 0;
  border-bottom: 1px solid var(--care-line);
}

.result-steps li > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: white;
  color: var(--care-green-dark);
  font-size: 10px;
  font-weight: 800;
}

.result-steps p {
  margin: 0;
  color: var(--care-muted);
  font-size: 12px;
}

.result-actions {
  display: flex;
  gap: 8px;
}

.result-actions a {
  text-decoration: none;
}

.booking-assurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 7px 0 0;
  color: var(--care-muted);
  font-size: 8px;
  font-weight: 620;
  text-align: center;
}

.booking-assurance span {
  color: var(--care-green);
  font-size: 6px;
}

.result-urgent .primary-action {
  border-color: #a52e34;
  background: #a52e34;
  box-shadow: 0 12px 28px rgba(165, 46, 52, 0.18);
}

.medical-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.medical-callout {
  display: flex;
  min-height: 54px;
  flex-direction: column;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid #f0d7b7;
  border-radius: 12px;
  background: #fff7ed;
}

.medical-callout strong {
  color: #7f430f;
  font-size: 13px;
}

.medical-callout span {
  margin-top: 2px;
  color: #675b50;
  font-size: 10px;
}

.restart-link {
  margin-top: 10px;
  color: #575b65;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prototype-toast {
  right: 16px;
  bottom: 16px;
  max-width: 390px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--care-navy);
}

.prototype-toast strong {
  font-size: 12px;
}

.prototype-toast span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px;
}

@media (max-width: 1120px) and (min-width: 821px) {
  .screening-shell {
    grid-template-columns: minmax(330px, 34vw) minmax(0, 1fr);
  }

  .brand-panel {
    padding-right: 28px;
    padding-left: 28px;
  }

  .private-badge {
    display: none;
  }

  .brand-trust {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .brand-trust div {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 6px;
  }
}

@media (min-width: 821px) and (max-height: 720px) {
  .brand-panel {
    padding-top: 23px;
    padding-bottom: 19px;
  }

  .brand-story {
    margin: 24px 0 18px;
  }

  .brand-story h2 {
    margin-bottom: 12px;
    font-size: 36px;
  }

  .brand-story > p:last-child {
    font-size: 13px;
  }

  .brand-trust {
    padding-top: 11px;
  }

  .brand-trust span {
    display: none;
  }

  .tool-panel {
    padding-top: 20px;
    padding-bottom: 18px;
  }

  .welcome-orbit {
    display: none;
  }

  .welcome-screen h1,
  .result-screen h1 {
    font-size: 40px;
  }

  .welcome-copy,
  .question-copy > p:last-child,
  .result-description {
    margin-top: 10px;
    font-size: 13px;
  }

  .welcome-points {
    margin: 14px 0 12px;
  }

  .welcome-points > div {
    min-height: 76px;
    padding: 10px;
  }

  .welcome-points p {
    margin-top: 7px;
  }

  .progress-track {
    margin-bottom: 14px;
  }

  .question-copy h1 {
    font-size: 31px;
  }

  .question-copy > p:last-child,
  .option-text small {
    display: none;
  }

  .option-list {
    margin-top: 10px;
  }

  .option-card {
    min-height: 46px;
  }

  .auto-note {
    margin-top: 6px;
  }

  .result-icon {
    width: 34px;
    height: 34px;
    margin: 0;
  }

  .result-status {
    margin-bottom: 8px;
  }

  .route-summary {
    margin-top: 11px;
    padding: 10px 13px;
  }

  .result-context-grid {
    margin: 11px 0 6px;
  }

  .personal-summary {
    margin-bottom: 6px;
    padding: 8px 10px;
  }

  .care-continuum {
    margin-bottom: 6px;
    padding: 8px 9px 9px;
  }

  .continuum-heading {
    margin-bottom: 6px;
  }

  .continuum-heading > div > strong {
    font-size: 12px;
  }

  .continuum-grid small {
    display: none;
  }

  .therapist-match {
    margin-bottom: 6px;
    padding: 7px 9px;
  }

  .match-heading {
    margin-bottom: 5px;
  }

  .therapist-card {
    padding: 2px;
  }

  .therapist-avatar {
    width: 34px;
    height: 34px;
  }

  .result-steps li {
    padding: 5px 0;
  }

  .clinical-review {
    display: none;
  }
}

/* Mobiel: duidelijke appheader, grote leesbare keuzes en geen decoratieve ruis. */
@media (max-width: 820px) {
  .screening-shell {
    display: block;
    height: 100svh;
    height: 100dvh;
    background:
      linear-gradient(180deg, var(--care-navy) 0 76px, var(--care-surface) 76px);
  }

  .brand-panel {
    display: none;
  }

  .prototype-ribbon {
    display: none;
  }

  .tool-panel {
    grid-template-rows: 56px minmax(0, 1fr);
    height: 100svh;
    height: 100dvh;
    padding: 10px 16px 12px;
    background: transparent;
  }

  .tool-header {
    justify-content: space-between;
  }

  .mobile-brand {
    display: flex;
    width: auto;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .mobile-brand .brand-symbol {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .mobile-brand .brand-name span {
    color: rgba(255, 255, 255, 0.74);
    font-size: 8px;
  }

  .mobile-brand .brand-name strong {
    color: white;
    font-size: 13px;
  }

  .icon-button {
    width: 44px;
    height: 44px;
    border-color: rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.88);
    box-shadow: none;
    backdrop-filter: blur(10px);
  }

  .icon-button:hover,
  .icon-button:active {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.13);
    color: white;
  }

  .welcome-screen,
  .question-screen,
  .result-screen {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: clamp(8px, 1.8vh, 15px) 0;
  }

  .result-screen {
    justify-content: flex-start;
  }

  .question-screen {
    justify-content: flex-start;
  }

  .welcome-orbit {
    width: clamp(49px, 7.8vh, 60px);
    height: clamp(49px, 7.8vh, 60px);
    margin-bottom: clamp(12px, 2.1vh, 19px);
    border-radius: 14px;
  }

  .tool-eyebrow {
    margin-bottom: clamp(7px, 1.2vh, 10px);
    font-size: 10px;
  }

  .welcome-screen h1,
  .result-screen h1 {
    font-size: clamp(34px, min(10.7vw, 5.8vh), 44px);
  }

  .question-copy h1 {
    font-size: clamp(29px, min(8.8vw, 5.1vh), 38px);
  }

  .welcome-copy,
  .question-copy > p:last-child,
  .result-description {
    margin-top: clamp(8px, 1.4vh, 13px);
    font-size: clamp(12px, min(3.7vw, 2vh), 14px);
    line-height: 1.38;
  }

  .welcome-points {
    grid-template-columns: 1fr;
    gap: 5px;
    margin: clamp(10px, 1.8vh, 16px) 0;
  }

  .welcome-points > div {
    display: grid;
    grid-template-columns: 25px 1fr;
    min-height: 0;
    gap: 7px;
    padding: clamp(7px, 1.1vh, 10px) 11px;
    border-radius: 11px;
  }

  .welcome-points p {
    margin: 0;
    font-size: 10px;
  }

  .welcome-points strong {
    display: inline;
    margin-right: 4px;
    font-size: 11px;
  }

  .welcome-screen > .primary-action {
    width: 100%;
    min-height: clamp(46px, 7vh, 53px);
  }

  .medical-note {
    margin-top: 7px;
    font-size: 9px;
  }

  .progress-row {
    font-size: 10px;
  }

  .progress-track {
    margin: 7px 0 clamp(12px, 2.1vh, 19px);
  }

  .option-list {
    gap: clamp(4px, 0.65vh, 6px);
    margin-top: clamp(9px, 1.6vh, 14px);
  }

  .body-locator {
    gap: 7px;
    margin-top: clamp(8px, 1.4vh, 12px);
  }

  .body-locator-stage {
    height: clamp(235px, 37vh, 310px);
    border-radius: 14px;
  }

  .body-figure {
    width: min(35%, 132px);
  }

  .body-point {
    min-height: 44px;
    gap: 6px;
    padding: 0 10px;
    font-size: 11px;
  }

  .body-point-neck {
    left: calc(50% + 25px);
  }

  .body-point-shoulder {
    right: calc(50% + 22px);
  }

  .body-point-back {
    left: calc(50% + 29px);
  }

  .body-point-knee {
    right: calc(50% + 16px);
  }

  .body-locator-other {
    grid-template-columns: 32px minmax(0, 1fr) 22px;
    min-height: 52px;
    gap: 8px;
    padding: 6px 9px;
    border-radius: 11px;
  }

  .body-locator-other-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .body-locator-other strong {
    font-size: 11px;
  }

  .body-locator-other small {
    font-size: 8px;
  }

  .option-card {
    grid-template-columns: 26px 1fr 32px;
    min-height: clamp(46px, 6.8vh, 56px);
    gap: 7px;
    padding: 6px 9px;
    border-radius: 11px;
  }

  .option-text strong {
    font-size: clamp(12px, min(3.65vw, 2vh), 14px);
  }

  .option-text small {
    font-size: 9px;
  }

  .option-check {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .auto-note {
    justify-content: center;
    margin-top: 7px;
    font-size: 9px;
  }

  .result-icon {
    width: clamp(34px, 5vh, 40px);
    height: clamp(34px, 5vh, 40px);
    margin: 0;
    border-radius: 50%;
  }

  .result-status {
    margin-bottom: 9px;
  }

  .route-summary {
    margin: clamp(9px, 1.6vh, 14px) 0 6px;
    padding: 9px 11px;
    border-radius: 10px;
  }

  .route-summary span {
    font-size: 9px;
  }

  .route-summary strong {
    font-size: 14px;
  }

  .personal-summary {
    margin-bottom: 6px;
    padding: 7px 9px;
    border-radius: 10px;
  }

  .personal-summary > span {
    font-size: 9px;
  }

  .personal-summary p {
    font-size: 10px;
    line-height: 1.28;
  }

  .result-fit h1 {
    font-size: clamp(28px, min(8.1vw, 4.6vh), 34px);
    line-height: 0.98;
  }

  .result-fit h1 > span {
    margin-top: 4px;
    font-size: 0.68em;
    line-height: 1.08;
  }

  .result-context-grid {
    grid-template-columns: minmax(105px, 0.8fr) minmax(0, 1.2fr);
    gap: 5px;
    margin: clamp(9px, 1.6vh, 14px) 0 6px;
  }

  .care-continuum {
    margin-bottom: 6px;
    padding: 8px 8px 9px;
    border-radius: 11px;
  }

  .continuum-heading {
    display: block;
    margin-bottom: 6px;
  }

  .continuum-heading > div > span {
    font-size: 8px;
  }

  .continuum-heading > div > strong {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    text-align: left;
  }

  .continuum-heading > small {
    display: none;
  }

  .continuum-grid {
    grid-template-columns: 1fr;
  }

  .continuum-grid > li,
  .continuum-grid > li:first-child,
  .continuum-grid > li:last-child {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: start;
    gap: 4px;
    padding: 4px 0;
    border-left: 0;
  }

  .continuum-grid > li + li {
    border-top: 1px solid #e7ebe6;
  }

  .continuum-number {
    margin: 1px 0 0;
    font-size: 7px;
  }

  .continuum-grid strong {
    font-size: 10px;
  }

  .continuum-grid small {
    margin-top: 1px;
    font-size: 9px;
  }

  .therapist-match {
    margin-bottom: 6px;
    padding: 8px;
  }

  .match-heading {
    align-items: center;
    margin-bottom: 5px;
  }

  .match-heading strong {
    font-size: 10px;
  }

  .match-heading span {
    font-size: 8px;
  }

  .therapist-grid {
    gap: 5px;
  }

  .therapist-card {
    gap: 0;
    padding: 2px;
    border-radius: 9px;
  }

  .therapist-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 8px;
  }

  .therapist-copy strong {
    font-size: 10px;
  }

  .therapist-copy small {
    font-size: 8px;
  }

  .therapist-copy em {
    font-size: 7.5px;
  }

  .match-note {
    margin-top: 3px;
    font-size: 8px;
  }

  .booking-assurance {
    display: none;
  }

  .result-fit .restart-link,
  .result-fit .clinical-review {
    display: none;
  }

  .result-steps {
    margin-bottom: 7px;
  }

  .result-steps li {
    grid-template-columns: 26px 1fr;
    gap: 8px;
    padding: 5px 0;
  }

  .result-steps li > span {
    width: 24px;
    height: 24px;
  }

  .result-steps p {
    font-size: 10px;
    line-height: 1.25;
  }

  .result-actions {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 6px;
  }

  .result-actions button {
    min-height: clamp(43px, 6.5vh, 50px);
    padding: 0 8px;
    border-radius: 10px;
    font-size: 11px;
    text-align: center;
  }

  .result-actions a {
    min-height: clamp(43px, 6.5vh, 50px);
    padding: 0 8px;
    border-radius: 10px;
    font-size: 11px;
    text-align: center;
  }

  .medical-actions {
    grid-template-columns: 1.25fr 0.75fr;
  }

  .medical-callout {
    min-height: clamp(43px, 6.5vh, 50px);
    padding: 5px 9px;
    border-radius: 10px;
  }

  .medical-callout strong {
    font-size: 11px;
  }

  .medical-callout span {
    font-size: 8px;
  }

  .restart-link {
    margin-top: 6px;
    font-size: 10px;
  }

  .clinical-review {
    margin-top: 4px;
    font-size: 8px;
  }

  .prototype-toast {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }
}

@media (max-width: 820px) and (max-height: 700px) {
  .tool-panel {
    grid-template-rows: 48px minmax(0, 1fr);
  }

  .mobile-brand .brand-symbol {
    width: 33px;
    height: 33px;
    flex-basis: 33px;
  }

  .mobile-brand .brand-name span,
  .welcome-orbit,
  .question-copy > p:last-child,
  .option-text small,
  .match-heading span,
  .match-note,
  .result-fit .result-description,
  .result-fit .personal-summary,
  .booking-assurance,
  .clinical-review {
    display: none;
  }

  .personal-summary p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .body-locator-stage {
    height: clamp(225px, 39vh, 265px);
  }

  .body-point {
    min-height: 44px;
    padding: 0 8px;
    font-size: 10px;
  }

  .body-locator-other {
    min-height: 45px;
  }

  .body-locator-other small {
    display: none;
  }

  .result-icon {
    width: 30px;
    height: 30px;
    margin: 0;
    border-radius: 50%;
  }

  .result-status {
    gap: 8px;
    margin-bottom: 6px;
  }

  .result-fit .result-icon-glyph {
    width: 9px;
    height: 16px;
    border-right-width: 2.5px;
    border-bottom-width: 2.5px;
  }

  .result-fit .result-icon {
    width: 30px;
    height: 30px;
    margin: 0;
  }

  .result-fit h1 {
    font-size: clamp(27px, 7.8vw, 32px);
  }

  .result-fit .result-context-grid {
    grid-template-columns: 1fr;
    margin-top: 7px;
  }

  .result-fit .route-summary {
    padding: 7px 9px;
  }

  .result-fit .care-continuum {
    padding-top: 6px;
    padding-bottom: 7px;
  }

  .result-fit .continuum-grid small {
    display: none;
  }

  .result-fit .continuum-heading {
    margin-bottom: 5px;
  }

  .result-fit .continuum-grid > li,
  .result-fit .continuum-grid > li:first-child,
  .result-fit .continuum-grid > li:last-child {
    padding-top: 3px;
    padding-bottom: 3px;
  }

  .welcome-points {
    margin: 8px 0;
  }

  .welcome-points > div {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .progress-track {
    margin-bottom: 9px;
  }

  .option-list {
    margin-top: 7px;
  }

  .option-card {
    min-height: 44px;
  }

  .auto-note {
    margin-top: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
