:root {
  --olive: #9cb05a;
  --olive-dark: #6f7e35;
  --olive-soft: #eef2df;
  --cyan: #25a9c4;
  --cyan-soft: #e4f6f9;
  --ink: #28302c;
  --muted: #6f7873;
  --line: #dde3dd;
  --paper: #fbfcf8;
  --cream: #f4f5ee;
  --white: #fff;
  --coral: #ef8d75;
  --shadow: 0 26px 70px rgba(41, 56, 47, .13);
  --radius-lg: 30px;
  --radius-md: 20px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 9% 19%, rgba(156, 176, 90, .13), transparent 26rem),
    radial-gradient(circle at 92% 7%, rgba(37, 169, 196, .10), transparent 28rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  min-width: 320px;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid rgba(37,169,196,.42); outline-offset: 3px; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 12px 18px;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
}
.skip-link:not(:focus) {
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.utility-bar {
  background: #303531;
  color: rgba(255,255,255,.78);
  font-size: 11px;
  letter-spacing: .05em;
}
.utility-inner,
.site-header,
main { width: min(1440px, calc(100% - 64px)); margin-inline: auto; }
.utility-inner { height: 34px; display: flex; align-items: center; justify-content: space-between; }
.utility-inner div { display: flex; gap: 13px; align-items: center; }
.utility-inner a { text-decoration: none; }
.utility-inner a:hover { color: #fff; }

.site-header {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { position: relative; display: inline-flex; align-items: center; min-width: 280px; text-decoration: none; }
.brand img { width: 296px; max-height: 57px; object-fit: contain; object-position: left center; position: relative; z-index: 2; }
.brand-fallback { position: absolute; left: 0; font-size: 26px; color: var(--cyan); opacity: 0; }
.brand img[style*="display: none"] + .brand-fallback { opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 28px; }
.demo-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.demo-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--olive); box-shadow: 0 0 0 5px rgba(156,176,90,.13); }
.appointment-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  background: var(--ink);
  padding: 13px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: transform .25s var(--ease), background .25s;
}
.appointment-link:hover { transform: translateY(-2px); background: var(--olive-dark); }
.appointment-short { display: none; }
.appointment-link .external-icon { font-size: 16px; }

.intro-band {
  padding: 48px 12px 34px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
}
.eyebrow {
  color: var(--olive-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.intro-band h1 {
  margin: 15px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5vw, 70px);
  line-height: 1.01;
  letter-spacing: -.045em;
  font-weight: 600;
  text-wrap: balance;
}
.intro-band h1 em { color: var(--olive); font-style: normal; }
.intro-band > p { width: min(430px, 38%); margin: 0 0 7px; color: var(--muted); font-size: 15px; line-height: 1.8; }

.app-shell {
  position: relative;
  display: grid;
  grid-template-columns: 248px minmax(470px, 1fr) 344px;
  height: min(690px, calc(100vh - 24px));
  height: min(690px, calc(100svh - 24px));
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(68, 81, 73, .10);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.journey-panel {
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 25px 20px;
  background: #f2f4ec;
  border-right: 1px solid var(--line);
}
.progress-orbit { flex: 0 0 124px; width: 124px; height: 124px; position: relative; }
.progress-orbit svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.progress-orbit circle { fill: none; stroke-width: 6; }
.orbit-track { stroke: #dfe4d2; }
.orbit-value {
  stroke: var(--olive);
  stroke-linecap: round;
  stroke-dasharray: 301.6;
  stroke-dashoffset: 301.6;
  transition: stroke-dashoffset .7s var(--ease);
  filter: drop-shadow(0 2px 3px rgba(111,126,53,.25));
}
.progress-copy { position: absolute; inset: 12px; display: grid; place-content: center; text-align: center; }
.progress-copy strong { font-size: 24px; line-height: 1; font-variant-numeric: tabular-nums; }
.progress-copy span { margin-top: 5px; color: var(--muted); font-size: 9px; line-height: 1.1; letter-spacing: 0; text-transform: uppercase; white-space: nowrap; }
.journey-copy { width: 100%; margin: 18px 0 14px; text-align: center; }
.journey-copy > span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .14em; }
.journey-copy h2 { margin: 7px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 19px; }

.section-list { width: 100%; margin: 0; padding: 0; list-style: none; position: relative; }
.section-list::before { content: ""; position: absolute; left: 16px; top: 18px; bottom: 18px; width: 1px; background: #d6ddcb; }
.section-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  color: #879087;
  transition: color .3s;
}
.section-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border: 1px solid #d5dbce;
  border-radius: 50%;
  background: #f2f4ec;
  font-size: 13px;
  transition: all .35s var(--ease);
}
.section-item.active { color: var(--ink); font-weight: 800; }
.section-item.active .section-dot { color: #fff; background: var(--olive); border-color: var(--olive); box-shadow: 0 7px 18px rgba(111,126,53,.22); transform: scale(1.08); }
.section-item.done .section-dot { color: var(--olive-dark); background: #fff; border-color: var(--olive); }
.section-item span:last-child { font-size: 12px; }
.privacy-note {
  width: 100%;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: auto;
  padding: 14px 6px 12px 0;
  border-top: 1px solid #dce1d4;
}
.privacy-icon { flex: 0 0 30px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--olive-dark); background: #fff; }
.privacy-icon svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.privacy-note strong { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.privacy-note small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.4; }
.privacy-note > div { min-width: 0; }
.privacy-note strong,
.privacy-note small { overflow-wrap: anywhere; }

@media (min-width: 721px) {
  .journey-panel { padding: 20px 20px 14px; }
  .progress-orbit { flex-basis: 104px; width: 104px; height: 104px; }
  .journey-copy { margin: 9px 0 8px; }
  .section-item { min-height: 42px; }
  .section-dot { width: 31px; height: 31px; }
  .privacy-note { flex: 0 0 auto; margin-top: 8px; padding: 10px 0 0; }
}

.conversation-panel { position: relative; min-width: 0; min-height: 0; height: 100%; display: flex; flex-direction: column; background: #fff; }
.conversation-panel::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 65px;
  height: 30px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.96));
  opacity: 0;
  transition: opacity .2s ease;
}
.conversation-panel.has-more-content::after { opacity: 1; }
.mobile-visual { display: none; }
.mobile-progress { display: none; }
.mobile-progress-track { width: 82px; height: 5px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.18); }
.mobile-progress-value { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--olive); transition: width .7s var(--ease); }
.conversation-topbar {
  position: relative;
  z-index: 4;
  flex: 0 0 auto;
  height: 76px;
  padding: 0 27px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #edf0ec;
  background: #fff;
}
.assistant-identity { display: flex; align-items: center; gap: 11px; }
.assistant-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--olive-soft); }
.assistant-avatar svg { width: 31px; fill: var(--olive); stroke: #fff; stroke-width: 1.4; }
.assistant-avatar svg path:last-of-type { fill: none; stroke: #fff; stroke-linecap: round; }
.assistant-identity strong { display: block; font-size: 13px; }
.assistant-identity div span { display: flex; align-items: center; gap: 5px; margin-top: 4px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.assistant-identity i { width: 6px; height: 6px; background: #69bb7b; border-radius: 50%; }
.topbar-actions { display: flex; align-items: center; gap: 9px; }
.demo-short { display: none; }
.text-button, .icon-button, .back-button, .help-button { border: 0; background: none; cursor: pointer; }
.text-button { padding: 8px 10px; color: var(--olive-dark); border-radius: 999px; font-size: 11px; font-weight: 800; transition: color .2s, background .2s; }
.text-button:hover { color: var(--ink); background: var(--cream); }
.icon-button { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--muted); }
.icon-button:hover { background: var(--cream); color: var(--ink); }
.icon-button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.chat-scroll {
  position: relative;
  z-index: 1;
  flex: 1;
  height: auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior-y: auto;
  padding: 30px clamp(28px, 5vw, 62px) 24px;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #d8ddd8 transparent;
}
.chat-log { display: flex; flex-direction: column; gap: 13px; }
.message { max-width: 84%; animation: messageIn .45s var(--ease) both; }
.message.bot { align-self: flex-start; }
.message.user { align-self: flex-end; }
.bubble { padding: 13px 17px; border-radius: 18px; font-size: 12px; line-height: 1.6; }
.message.bot .bubble { color: #3b443f; background: #f2f4ef; border-bottom-left-radius: 5px; }
.message.user .bubble { color: #fff; background: var(--ink); border-bottom-right-radius: 5px; }
.message small { display: block; margin-top: 5px; color: #a1a8a3; font-size: 8px; text-transform: uppercase; letter-spacing: .06em; }
.message.user small { text-align: right; }

.typing { width: 55px; display: flex; gap: 4px; margin: 13px 0; padding: 13px 16px; border-radius: 17px 17px 17px 5px; background: #f2f4ef; }
.typing[hidden] { display: none; }
.typing span { width: 5px; height: 5px; border-radius: 50%; background: #9ca39f; animation: typing 1s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }

.question-area { margin-top: 24px; outline: 0; }
.question-card { animation: cardIn .5s var(--ease) both; }
.question-index { display: flex; align-items: center; gap: 8px; color: var(--olive-dark); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.question-index::before { content: ""; width: 22px; height: 2px; background: var(--olive); }
.question-card h3 { margin: 12px 0 6px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(21px, 2.1vw, 29px); line-height: 1.25; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
.question-card > p { margin: 0 0 20px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.answer-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.answer-grid.single { grid-template-columns: 1fr; }
.answer-option {
  position: relative;
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  text-align: left;
  color: var(--ink);
  background: #fff;
  border: 1px solid #dfe5df;
  border-radius: 15px;
  cursor: pointer;
  transition: transform .2s var(--ease), border .2s, box-shadow .2s, background .2s;
}
.answer-option:hover, .answer-option:focus-visible { outline: 0; transform: translateY(-2px); border-color: var(--olive); box-shadow: 0 8px 22px rgba(69,80,72,.10); }
.answer-option.selected { border-color: var(--olive); background: var(--olive-soft); }
.answer-icon { flex: 0 0 32px; display: grid; place-items: center; width: 32px; height: 32px; color: var(--olive-dark); background: var(--cream); border-radius: 10px; font-size: 15px; }
.answer-option.selected .answer-icon { color: #fff; background: var(--olive); }
.answer-copy { min-width: 0; }
.answer-copy strong { display: block; font-size: 11px; line-height: 1.3; }
.answer-copy small { display: block; margin-top: 3px; color: var(--muted); font-size: 8px; line-height: 1.3; }
.checkmark { margin-left: auto; width: 18px; height: 18px; border: 1px solid #cdd4ce; border-radius: 50%; }
.selected .checkmark { display: grid; place-items: center; color: #fff; border-color: var(--olive); background: var(--olive); }
.selected .checkmark::after { content: "✓"; font-size: 10px; }

.field-wrap { position: relative; }
.field-wrap input {
  width: 100%;
  height: 62px;
  padding: 0 54px 0 18px;
  color: var(--ink);
  background: #f7f8f4;
  border: 1px solid #dfe5df;
  border-radius: 16px;
  outline: 0;
  transition: border .2s, box-shadow .2s;
}
.field-wrap input:focus { border-color: var(--olive); box-shadow: 0 0 0 4px rgba(156,176,90,.12); }
.field-wrap button {
  position: absolute;
  right: 9px;
  top: 9px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: var(--olive);
  cursor: pointer;
  font-size: 19px;
}
.field-wrap button:hover { background: var(--olive-dark); }
.text-entry-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; align-items: stretch; }
.text-entry-row .field-wrap { min-width: 0; }
.text-alternative { min-height: 62px; padding: 0 15px; color: var(--ink); background: #fff; border: 1px solid #dfe5df; border-radius: 16px; font-size: 11px; font-weight: 800; white-space: nowrap; cursor: pointer; }
.text-alternative:hover { border-color: var(--olive); background: var(--olive-soft); }
.input-error { margin-top: 7px; color: #b84c3d; font-size: 10px; }

.number-input { display: grid; grid-template-columns: 1fr 88px; gap: 18px; align-items: center; }
.range-control { position: relative; min-width: 0; height: 62px; }
.range-rail { position: absolute; z-index: 0; top: 27px; right: 9px; left: 9px; height: 6px; overflow: hidden; background: #dfe4df; border-radius: 999px; box-shadow: inset 0 1px 2px rgba(39,52,45,.08); }
.range-rail span { position: absolute; top: 0; bottom: 0; left: var(--selectable-start); width: calc(var(--selectable-end) - var(--selectable-start)); background: linear-gradient(90deg, var(--olive-dark), var(--olive)); border-radius: inherit; }
.number-input input[type="range"] { position: absolute; z-index: 2; top: 8px; left: var(--selectable-start); width: calc(var(--selectable-end) - var(--selectable-start)); min-width: 20px; height: 44px; margin: 0; appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer; }
.number-input input[type="range"]::-webkit-slider-runnable-track { height: 6px; background: transparent; }
.number-input input[type="range"]::-webkit-slider-thumb { width: 21px; height: 21px; margin-top: -7px; appearance: none; -webkit-appearance: none; background: #fff; border: 6px solid var(--olive-dark); border-radius: 50%; box-shadow: 0 2px 8px rgba(37,52,45,.22); }
.number-input input[type="range"]::-moz-range-track { height: 6px; background: transparent; border: 0; }
.number-input input[type="range"]::-moz-range-progress { height: 6px; background: transparent; }
.number-input input[type="range"]::-moz-range-thumb { width: 9px; height: 9px; background: #fff; border: 6px solid var(--olive-dark); border-radius: 50%; box-shadow: 0 2px 8px rgba(37,52,45,.22); }
.number-input input[type="range"]:focus-visible { outline: 2px solid var(--olive-dark); outline-offset: 2px; border-radius: 999px; }
.range-limit { position: absolute; z-index: 1; top: 0; left: var(--limit-position); padding: 2px 6px; color: var(--olive-dark); background: var(--olive-soft); border-radius: 999px; font-size: 9px; font-weight: 800; line-height: 1.4; white-space: nowrap; }
.range-limit-lower { transform: translateX(-2px); }
.range-limit-upper { transform: translateX(calc(-100% + 2px)); }
.range-scale { position: absolute; right: 3px; bottom: 0; left: 3px; display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; font-weight: 700; line-height: 1; }
.number-output { height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 1px solid #dfe5df; border-radius: 16px; background: #f7f8f4; }
.number-output strong { display: block; font-size: 24px; line-height: 1; }
.number-output small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1; white-space: nowrap; }
.number-submit { margin-top: 13px; width: 100%; height: 48px; border: 0; border-radius: 14px; color: #fff; background: var(--ink); font-size: 11px; font-weight: 800; cursor: pointer; }
.number-submit:hover { background: var(--olive-dark); }
.number-alternatives { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.number-alternative { flex: 1 1 180px; min-height: 44px; padding: 9px 12px; color: var(--muted); background: #fff; border: 1px solid #dfe5df; border-radius: 12px; font-size: 12px; font-weight: 700; cursor: pointer; }
.number-alternative:hover { color: var(--ink); border-color: var(--olive); background: var(--olive-soft); }
.number-alternative span { margin-right: 7px; color: var(--olive-dark); font-size: 15px; }
.multi-submit { margin-top: 13px; width: 100%; height: 48px; border: 0; border-radius: 14px; color: #fff; background: var(--ink); font-size: 11px; font-weight: 800; cursor: pointer; }
.multi-submit:disabled { cursor: not-allowed; opacity: .35; }

.welcome-card {
  padding: 21px;
  border: 1px solid #e0e5df;
  border-radius: 20px;
  background: linear-gradient(145deg, #fbfcf9, #f2f5eb);
}
.welcome-privacy-copy { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.welcome-privacy-copy strong { color: var(--ink); }
.welcome-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0; }
.welcome-point { padding: 12px 10px; background: #fff; border: 1px solid #e2e7df; border-radius: 13px; }
.welcome-point span { display: block; font-size: 17px; }
.welcome-point strong { display: block; margin-top: 7px; font-size: 9px; line-height: 1.4; }
.consent-row { min-height: 44px; display: flex; align-items: flex-start; gap: 9px; margin: 13px 1px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.consent-row input { flex: 0 0 20px; width: 20px; height: 20px; accent-color: var(--olive); margin: 0; }
.start-button {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 15px;
  color: #fff;
  background: var(--olive);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(111,126,53,.20);
}
.start-button:disabled { opacity: .42; cursor: not-allowed; box-shadow: none; }
.start-button:not(:disabled):hover { background: var(--olive-dark); transform: translateY(-1px); }

.summary-card { text-align: center; }
.summary-mark { width: 74px; height: 74px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 24px; color: var(--olive-dark); background: var(--olive-soft); font-size: 30px; transform: rotate(-3deg); }
.summary-card h3 { font-size: 27px; }
.summary-card > p { width: min(440px, 100%); margin-inline: auto; }
.summary-actions { display: flex; gap: 9px; }
.summary-actions a, .summary-actions button { flex: 1; display: grid; place-items: center; min-height: 50px; border: 1px solid var(--ink); border-radius: 14px; text-decoration: none; font-size: 10px; font-weight: 800; cursor: pointer; }
.summary-actions a { color: #fff; background: var(--ink); }
.summary-actions button { color: var(--ink); background: #fff; }

.results-dashboard { color: var(--ink); text-align: left; }
.results-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 24px;
  align-items: center;
  padding: 27px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 13%, rgba(37,169,196,.25), transparent 11rem),
    linear-gradient(135deg, #26332e, #35483f);
  border-radius: 24px;
}
.results-hero::after { content: ""; position: absolute; width: 230px; height: 230px; right: -130px; bottom: -145px; border: 1px dashed rgba(255,255,255,.2); border-radius: 50%; }
.results-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #cbd7a4; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.results-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--olive); }
.results-hero h3 { margin: 12px 0 8px; color: #fff; font-size: clamp(25px, 3vw, 36px); text-wrap: balance; }
.results-hero p { max-width: 480px; margin: 0; color: rgba(255,255,255,.67); font-size: 11px; line-height: 1.7; }
.result-orbit { position: relative; z-index: 1; width: 136px; height: 136px; justify-self: end; }
.result-orbit svg { width: 100%; transform: rotate(-90deg); }
.result-orbit circle { fill: none; stroke-width: 8; }
.result-orbit circle:first-child { stroke: rgba(255,255,255,.12); }
.result-orbit circle:last-child { stroke: var(--olive); stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 0; filter: drop-shadow(0 4px 7px rgba(156,176,90,.28)); }
.result-orbit div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.result-orbit strong { font-size: 25px; }
.result-orbit small { margin-top: 4px; color: rgba(255,255,255,.6); font-size: 7px; letter-spacing: .1em; text-transform: uppercase; }

.consultation-assessment { position: relative; display: grid; grid-template-columns: 1fr 210px; gap: 18px; margin-top: 14px; padding: 20px; overflow: hidden; border: 1px solid #dfe5df; border-radius: 20px; background: #f7f9f5; }
.consultation-assessment::before { position: absolute; inset: 0 auto 0 0; width: 5px; background: #8fa157; content: ""; }
.consultation-assessment.recommended::before { background: #c58a52; }.consultation-assessment.high::before { background: #ad5f4d; }
.consultation-kicker { color: #71805c; font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.consultation-assessment.recommended .consultation-kicker { color: #9a683e; }.consultation-assessment.high .consultation-kicker { color: #965141; }
.consultation-summary h4 { margin: 7px 0 6px; font-family: Georgia, "Times New Roman", serif; font-size: 21px; line-height: 1.12; }
.consultation-summary > p { max-width: 520px; margin: 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
.consultation-reasons { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 11px; }.consultation-reasons span { padding: 5px 7px; color: #5f6f4a; background: #eaf0dd; border-radius: 7px; font-size: 7px; font-weight: 800; }
.recommended .consultation-reasons span { color: #895d39; background: #f5eadc; }.high .consultation-reasons span { color: #8c4c3e; background: #f5e4df; }
.consultation-scale { position: relative; display: grid; align-content: center; gap: 12px; padding-left: 20px; }.consultation-scale::before { position: absolute; top: 20px; bottom: 20px; left: 7px; width: 2px; background: #dbe1dc; content: ""; }
.consultation-scale > div { position: relative; display: grid; grid-template-columns: 16px 1fr; gap: 8px; align-items: center; color: #8b938f; font-size: 8px; font-weight: 800; }.consultation-scale i { position: relative; z-index: 1; display: block; width: 14px; height: 14px; margin-left: -20px; background: #fff; border: 2px solid #cbd2cd; border-radius: 50%; }
.consultation-scale > div.active { color: var(--ink); font-size: 9px; }.consultation-scale > div.active i { border-color: #8fa157; box-shadow: inset 0 0 0 3px #fff; background: #8fa157; }.recommended .consultation-scale > div.active i { border-color: #c58a52; background: #c58a52; }.high .consultation-scale > div.active i { border-color: #ad5f4d; background: #ad5f4d; }
.consultation-caveat { grid-column: 1 / -1; padding-top: 10px; color: #7c8580; border-top: 1px solid #e2e7e3; font-size: 7px; line-height: 1.45; }

.result-section-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin: 26px 2px 12px; }
.result-section-head > div > span { display: block; margin-bottom: 5px; color: var(--olive-dark); font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.result-section-head h4 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 20px; }
.result-section-head p { max-width: 290px; margin: 0; color: var(--muted); font-size: 9px; line-height: 1.5; text-align: right; }
.result-map { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.result-card {
  position: relative;
  min-height: 174px;
  padding: 17px;
  overflow: hidden;
  border: 1px solid #e0e6df;
  border-radius: 17px;
  background: linear-gradient(145deg, #fff, #f7f9f3);
}
.result-card::after { content: ""; position: absolute; width: 75px; height: 75px; right: -34px; bottom: -38px; border-radius: 50%; background: var(--card-accent, var(--olive-soft)); opacity: .9; }
.result-card.wide { grid-column: span 2; }
.result-card.family-card { --card-accent: #dff3f6; }
.result-card.genetics-card { --card-accent: #f8e8e1; }
.result-card.screening-card { --card-accent: #ece8f7; }
.result-card.lifestyle-card { --card-accent: #e8f2dc; }
.result-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.result-icon { flex: 0 0 38px; display: grid; place-items: center; width: 38px; height: 38px; color: var(--olive-dark); background: var(--olive-soft); border-radius: 12px; }
.result-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.family-card .result-icon { color: #167f94; background: var(--cyan-soft); }
.genetics-card .result-icon { color: #a95d4b; background: #f9e8e3; }
.screening-card .result-icon { color: #6b568f; background: #ece8f7; }
.lifestyle-card .result-icon { color: #607732; background: #e8f2dc; }
.result-state { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 27px; padding: 5px 9px; color: #66706b; background: #f0f2ef; border: 1px solid #e2e6e2; border-radius: 99px; font-size: 8px; font-weight: 800; letter-spacing: .035em; line-height: 1.15; text-align: center; text-transform: uppercase; }
.result-state i { flex: 0 0 6px; width: 6px; height: 6px; background: #929b96; border-radius: 50%; }
.result-state.complete { color: #627331; background: #eef2df; border-color: #dce5bd; }
.result-state.complete i { background: #829446; box-shadow: 0 0 0 3px rgba(130,148,70,.12); }
.result-state.unknown { color: #8c674e; background: #faf1e9; border-color: #efdccc; }
.result-state.unknown i { background: #b77b52; box-shadow: 0 0 0 3px rgba(183,123,82,.11); }
.result-card h5 { margin: 12px 0 5px; font-size: 11px; }
.result-card p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.result-card-focus { position: relative; z-index: 1; margin: 12px 0 9px; padding: 12px; background: rgba(255,255,255,.76); border: 1px solid #e2e7e1; border-radius: 12px; }.result-card-focus strong, .result-card-focus small { display: block; }.result-card-focus strong { font-family: Georgia, "Times New Roman", serif; font-size: 16px; }.result-card-focus small { margin-top: 5px; color: var(--muted); font-size: 8px; }
.family-relationship-visual { position: relative; z-index: 1; display: grid; grid-template-columns: 70px 1fr 90px; align-items: start; margin: 12px 0 10px; }.family-relationship-visual > div { display: grid; justify-items: center; gap: 5px; text-align: center; }.family-relationship-visual small { color: #497b83; font-size: 7px; line-height: 1.25; }.family-relationship-visual > i { position: relative; height: 31px; border-bottom: 1px solid #acd4dc; }.family-relationship-visual > i b { position: absolute; right: 0; bottom: -3px; width: 6px; height: 6px; background: #acd4dc; border-radius: 50%; }
.family-node { display: grid; place-items: center; width: 34px; height: 34px; color: #177a8e; background: #fff; border: 2px solid #9bcbd5; border-radius: 50%; font-size: 8px; font-style: normal; font-weight: 900; }.family-node.self { width: 39px; height: 39px; color: #fff; background: #1b7f91; border-color: #1b7f91; }.family-node.male { border-radius: 8px; }.family-node.unknown { border-radius: 8px; transform: rotate(45deg); }
.family-fact { position: relative; z-index: 1; padding: 10px; color: #315e67; background: #e9f5f7; border-radius: 11px; }.family-fact strong, .family-fact span { display: block; }.family-fact strong { font-size: 10px; }.family-fact span { margin-top: 3px; font-size: 7px; line-height: 1.35; }
.genetics-visual { position: relative; z-index: 1; display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center; margin: 10px 0 12px; padding: 13px; background: #fff7f4; border-radius: 13px; }.genetics-visual small, .genetics-visual strong { display: block; }.genetics-visual small { color: #9a6d62; font-size: 7px; }.genetics-visual strong { margin-top: 4px; font-family: Georgia, "Times New Roman", serif; font-size: 15px; }
.dna-ribbon { display: grid; place-items: center; width: 72px; height: 64px; color: #b76d5b; background: rgba(255,255,255,.64); border: 1px solid #f1dcd6; border-radius: 15px; }
.dna-ribbon svg { width: 39px; height: 39px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.gene-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }.gene-tags span { padding: 5px 7px; color: #8e5143; background: #f5dfd9; border-radius: 7px; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.screening-visual { position: relative; z-index: 1; display: flex; align-items: center; gap: 13px; margin-top: 17px; }.screening-visual > strong { display: grid; place-items: center; width: 65px; height: 65px; color: #6b568f; background: #ece8f7; border-radius: 20px; font-family: Georgia, serif; font-size: 27px; }.screening-visual span, .screening-visual small { display: block; }.screening-visual span { font-size: 10px; font-weight: 900; }.screening-visual small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.lifestyle-visual { position: relative; z-index: 1; display: grid; gap: 7px; margin-top: 13px; }.lifestyle-visual > div { display: grid; grid-template-columns: 72px 1fr; gap: 8px; align-items: center; padding: 8px 9px; background: rgba(255,255,255,.72); border-radius: 9px; }.lifestyle-visual small { color: var(--muted); font-size: 7px; }.lifestyle-visual strong { overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.family-mini-tree { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.tree-person { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #b7dfe6; color: #177a8e; background: #fff; border-radius: 50%; font-size: 10px; font-weight: 800; }
.tree-person.square { border-radius: 8px; }
.tree-line { width: 30px; height: 1px; background: #b7dfe6; }
.family-mini-tree small { color: #42818c; font-size: 8px; }

.review-panel { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(210px,.9fr); gap: 11px; margin-top: 11px; }
.review-list, .next-step-card { padding: 18px; border-radius: 18px; }
.review-list { border: 1px solid #e0e6df; background: #fff; }
.review-list h4, .next-step-card h4 { margin: 0 0 13px; font-family: Georgia, "Times New Roman", serif; font-size: 17px; }
.review-item { position: relative; display: grid; grid-template-columns: 27px 1fr; gap: 10px; align-items: start; padding-bottom: 12px; }
.review-item:last-child { padding-bottom: 0; }
.review-item:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 27px; bottom: 1px; width: 1px; background: #dfe6db; }
.review-item span { position: relative; z-index: 1; display: grid; place-items: center; width: 27px; height: 27px; color: #fff; background: var(--olive); border-radius: 9px; font-size: 8px; font-weight: 800; }
.review-item strong { display: block; margin: 2px 0 3px; font-size: 10px; }
.review-item small { display: block; color: var(--muted); font-size: 8px; line-height: 1.5; }
.next-step-card { color: #fff; background: linear-gradient(145deg, #8b9f48, #64762d); }
.next-step-card p { margin: 0 0 16px; color: rgba(255,255,255,.75); font-size: 9px; line-height: 1.6; }
.next-step-card a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 13px; color: var(--ink); background: #fff; border-radius: 12px; text-decoration: none; font-size: 9px; font-weight: 800; }

.delivery-panel { margin-top: 24px; padding: 20px; border: 1px solid #dce5da; border-radius: 21px; background: linear-gradient(145deg, #f7f9f2, #edf3e2); }
.delivery-head { display: flex; gap: 12px; align-items: flex-start; }
.delivery-icon { flex: 0 0 40px; display: grid; place-items: center; width: 40px; height: 40px; color: #fff; background: var(--ink); border-radius: 13px; font-size: 17px; }
.delivery-head h4 { margin: 1px 0 4px; font-family: Georgia, "Times New Roman", serif; font-size: 18px; }
.delivery-head p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.delivery-actions { display: grid; grid-template-columns: minmax(160px,.65fr) minmax(250px,1.35fr); gap: 10px; margin-top: 16px; }
.download-pdf-button, .send-email-button { min-height: 48px; border-radius: 14px; font-size: 9px; font-weight: 800; cursor: pointer; }
.download-pdf-button { color: #fff; background: var(--ink); border: 0; }
.download-pdf-button:hover { background: var(--olive-dark); }
.email-delivery { padding: 13px; border: 1px solid rgba(111,126,53,.18); border-radius: 15px; background: rgba(255,255,255,.72); }
.email-row { display: grid; grid-template-columns: 1fr auto; gap: 7px; }
.email-row input { min-width: 0; height: 44px; padding: 0 12px; border: 1px solid #d9e0d7; border-radius: 11px; background: #fff; font-size: 10px; outline: 0; }
.email-row input:focus { border-color: var(--olive); box-shadow: 0 0 0 3px rgba(156,176,90,.14); }
.send-email-button { padding-inline: 14px; color: #fff; background: var(--olive-dark); border: 0; }
.send-email-button:disabled { opacity: .38; cursor: not-allowed; }
.email-consent { display: grid; grid-template-columns: 20px 1fr; gap: 9px; align-items: start; margin-top: 10px; color: var(--muted); font-size: 8px; line-height: 1.55; }
.email-consent input { width: 20px; height: 20px; margin: 0; accent-color: var(--olive-dark); }
.email-privacy-button { margin: 5px 0 0 22px; padding: 0; color: var(--olive-dark); background: none; border: 0; font-size: 8px; font-weight: 800; text-decoration: underline; cursor: pointer; }
.delivery-note { margin: 11px 1px 0; color: #5f6d65; font-size: 8px; line-height: 1.5; }
.delivery-status { margin-top: 9px; padding: 9px 11px; border-radius: 10px; font-size: 8px; line-height: 1.5; }
.delivery-status[hidden] { display: none; }
.delivery-status.success { color: #35633f; background: #e4f2e5; }
.delivery-status.error { color: #8d473c; background: #f8e8e3; }
.delivery-status.info { color: #406d78; background: #e4f3f6; }
.results-bottom-actions { display: flex; justify-content: center; gap: 14px; margin-top: 15px; }
.results-bottom-actions button { padding: 7px; color: var(--muted); background: none; border: 0; font-size: 8px; font-weight: 800; cursor: pointer; }
.results-bottom-actions button:hover { color: var(--ink); }

.button-loading { position: relative; color: transparent !important; pointer-events: none; }
.button-loading::after { content: ""; position: absolute; inset: 0; width: 16px; height: 16px; margin: auto; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }

.conversation-footer {
  height: 65px;
  padding: 0 27px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #9aa19d;
  border-top: 1px solid #edf0ec;
  font-size: 8px;
}
.back-button, .help-button { padding: 8px; color: var(--muted); font-size: 9px; font-weight: 700; }
.back-button span { font-size: 15px; vertical-align: -1px; }
.back-button:disabled { opacity: .3; cursor: not-allowed; }
.back-button:not(:disabled):hover, .help-button:hover { color: var(--olive-dark); }

.visual-panel {
  position: relative;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 31px 29px 27px;
  color: #fff;
  background: #25342f;
}
.visual-panel::before, .visual-panel::after { content: ""; position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.visual-panel::before { width: 230px; height: 230px; right: -90px; top: -65px; background: rgba(37,169,196,.14); }
.visual-panel::after { width: 270px; height: 270px; left: -140px; bottom: -150px; background: rgba(156,176,90,.16); }
.visual-grid { position: absolute; inset: 0; opacity: .08; background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.6) 1px,transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(to bottom, #000, transparent 75%); }
.visual-status { position: relative; z-index: 2; }
.visual-status span { display: block; color: rgba(255,255,255,.58); font-size: 9px; text-transform: uppercase; letter-spacing: .15em; }
.visual-status strong { display: block; margin-top: 8px; font-family: Georgia, "Times New Roman", serif; font-size: 20px; }
.visual-stage { position: relative; z-index: 2; flex: 1; min-height: 0; overflow: hidden; display: grid; place-items: center; }
.visual-stage > svg { width: min(100%, 292px); height: min(100%, 395px); max-height: 395px; overflow: visible; animation: visualIn .65s var(--ease) both; }
.visual-stage .line { fill: none; stroke: rgba(255,255,255,.78); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.visual-stage .soft-line { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 1; }
.visual-stage .olive { fill: var(--olive); }
.visual-stage .cyan { fill: var(--cyan); }
.visual-stage .cream { fill: #eff3df; }
.visual-stage .coral { fill: var(--coral); }
.visual-stage .dark { fill: #25342f; }
.visual-stage .glow { filter: drop-shadow(0 12px 24px rgba(0,0,0,.16)); }
.visual-stage .pulse { transform-box: fill-box; transform-origin: center; animation: pulse 3s ease-in-out infinite; }
.visual-stage .float { animation: float 4s ease-in-out infinite; }
.visual-stage .float-delay { animation: float 4.8s .5s ease-in-out infinite; }
.visual-stage .dash { stroke-dasharray: 5 8; animation: dash 18s linear infinite; }
.fact-card { position: relative; z-index: 2; flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 14px 14px 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(255,255,255,.07); backdrop-filter: blur(10px); }
.fact-icon { flex: 0 0 26px; display: grid; place-items: center; width: 26px; height: 26px; color: var(--olive); background: rgba(255,255,255,.09); border-radius: 8px; }
.fact-card p { margin: 0; color: rgba(255,255,255,.68); font-size: 9px; line-height: 1.55; }

.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 36px 0 70px; border-radius: 22px; overflow: hidden; background: #dde2dc; }
.trust-strip > div { position: relative; padding: 26px 28px; background: #f4f6f0; }
.trust-strip span { position: absolute; top: 23px; right: 25px; color: #c8cec7; font-family: Georgia, "Times New Roman", serif; font-size: 20px; }
.trust-strip strong { display: block; padding-right: 34px; font-size: 12px; }
.trust-strip p { margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }

.help-dialog { width: min(480px, calc(100% - 34px)); padding: 34px; color: var(--ink); border: 0; border-radius: 24px; box-shadow: 0 30px 100px rgba(0,0,0,.28); }
.help-dialog::backdrop { background: rgba(25,34,30,.66); backdrop-filter: blur(6px); }
.help-dialog[open], .privacy-dialog[open] { animation: dialog-enter .38s var(--ease) both; }
.help-dialog[open]::backdrop, .privacy-dialog[open]::backdrop { animation: dialog-backdrop-enter .32s ease-out both; }
.help-dialog[open].is-closing, .privacy-dialog[open].is-closing { pointer-events: none; animation: dialog-exit .22s ease-in both; }
.help-dialog[open].is-closing::backdrop, .privacy-dialog[open].is-closing::backdrop { animation: dialog-backdrop-exit .22s ease-in both; }
@keyframes dialog-enter {
  from { opacity: 0; transform: translateY(18px) scale(.965); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes dialog-exit {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(10px) scale(.98); }
}
@keyframes dialog-backdrop-enter {
  from { opacity: 0; backdrop-filter: blur(0); }
  to { opacity: 1; }
}
@keyframes dialog-backdrop-exit {
  from { opacity: 1; }
  to { opacity: 0; backdrop-filter: blur(0); }
}
.dialog-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--cream); cursor: pointer; }
.dialog-mark { display: grid; place-items: center; width: 48px; height: 48px; color: #fff; background: var(--olive); border-radius: 16px; font-family: Georgia, "Times New Roman", serif; font-size: 22px; }
.help-dialog h2 { margin: 20px 0 8px; font-family: Georgia, "Times New Roman", serif; }
.help-dialog p { color: var(--muted); line-height: 1.7; }
.dialog-actions { display: flex; gap: 9px; margin: 22px 0 18px; }
.dialog-actions a { flex: 1; display: grid; place-items: center; min-height: 46px; color: #fff; background: var(--ink); border-radius: 13px; text-decoration: none; font-size: 10px; font-weight: 800; }
.dialog-actions a.secondary { color: var(--ink); background: var(--cream); }
.help-dialog small { color: #8a5750; font-size: 9px; line-height: 1.5; }

.privacy-footer {
  width: min(1440px, calc(100% - 64px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: -36px auto 30px;
  padding: 18px 22px;
  color: #d9dfdc;
  background: #303531;
  border-radius: 17px;
}
.privacy-footer p { margin: 0; font-size: 9px; }
.privacy-footer strong { color: #fff; }
.privacy-footer button { padding: 8px 11px; color: #dbe8b4; background: transparent; border: 1px solid rgba(219,232,180,.28); border-radius: 999px; font-size: 8px; font-weight: 800; cursor: pointer; }

.privacy-dialog { width: min(700px, calc(100% - 34px)); max-height: calc(100dvh - 24px); padding: 22px; overflow: hidden; color: var(--ink); border: 0; border-radius: 25px; box-shadow: 0 30px 100px rgba(0,0,0,.3); }
.privacy-dialog[open] { display: flex; flex-direction: column; }
.privacy-dialog::backdrop { background: rgba(25,34,30,.7); backdrop-filter: blur(7px); }
.privacy-dialog-head { flex: 0 0 auto; display: flex; align-items: center; gap: 14px; padding-right: 32px; }
.privacy-dialog-body { min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.privacy-dialog-head > div > span { color: var(--olive-dark); font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.privacy-dialog h2 { margin: 3px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 22px; }
.privacy-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 7px; align-items: center; margin: 14px 0; padding: 10px; background: #f3f6ec; border-radius: 15px; }
.privacy-flow > div { min-height: 58px; padding: 8px; background: #fff; border: 1px solid #e1e7dd; border-radius: 11px; }
.privacy-flow b { display: grid; place-items: center; width: 20px; height: 20px; color: #fff; background: var(--olive); border-radius: 7px; font-size: 8px; }
.privacy-flow strong, .privacy-flow small { display: block; }
.privacy-flow strong { margin-top: 5px; font-size: 8px; }
.privacy-flow small { margin-top: 2px; color: var(--muted); font-size: 7px; line-height: 1.3; }
.privacy-flow > span { color: var(--olive-dark); }
.privacy-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.privacy-sections section { padding: 10px; border: 1px solid #e1e6df; border-radius: 12px; }
.privacy-sections section:last-child { grid-column: 1 / -1; }
.privacy-sections h3 { margin: 0 0 4px; font-size: 9px; }
.privacy-sections p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.45; }
.privacy-sections a { color: var(--olive-dark); font-weight: 800; }
.privacy-legal-note { margin: 9px 0; padding: 8px 10px; color: #6f5a4e; background: #faf1e9; border-radius: 10px; font-size: 7px; line-height: 1.4; }
.privacy-confirm { flex: 0 0 auto; width: 100%; height: 42px; margin-top: 2px; color: #fff; background: var(--ink); border: 0; border-radius: 12px; font-size: 9px; font-weight: 800; cursor: pointer; }

.pdf-report { position: fixed; left: -12000px; top: 0; width: 794px; color: #25322c; background: #fff; font-family: Arial, "Segoe UI", sans-serif; }
.pdf-report * { box-sizing: border-box; }
.pdf-page { position: relative; width: 794px; height: 1123px; padding: 42px 50px 36px; overflow: hidden; background: #fff; }
.pdf-report-header { display: flex; align-items: center; justify-content: space-between; height: 66px; padding-bottom: 16px; border-bottom: 1px solid #d8dfdb; }
.pdf-logo { width: 214px; height: auto; object-fit: contain; }
.pdf-report-header > div { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.pdf-report-header strong { color: #34413b; font-size: 11px; }
.pdf-report-header small { color: #78827d; font-size: 9px; }
.pdf-report-hero { display: grid; grid-template-columns: 1fr 122px; gap: 28px; align-items: center; margin: 22px 0 16px; padding: 26px 28px; color: #fff; background: linear-gradient(135deg, #21372e, #385047); border-radius: 20px; }
.pdf-report-hero h1 { margin: 7px 0 7px; font-family: Georgia, "Times New Roman", serif; font-size: 29px; font-weight: 500; }
.pdf-report-hero p { max-width: 430px; margin: 0; color: #d8e1dd; font-size: 11px; line-height: 1.45; }
.pdf-kicker { color: #cbd99d; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.pdf-hero-mark { position: relative; display: grid; place-items: center; width: 92px; height: 92px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.pdf-hero-mark span { z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; color: #21372e; background: #cbd99d; border-radius: 50%; font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.pdf-hero-mark i { position: absolute; width: 108px; height: 22px; border: 1px solid rgba(203,217,157,.45); border-radius: 50%; transform: rotate(32deg); }
.pdf-hero-mark i:nth-child(3) { transform: rotate(92deg); }.pdf-hero-mark i:nth-child(4) { transform: rotate(152deg); }
.pdf-assessment { display: grid; grid-template-columns: 1fr 92px; gap: 20px; align-items: center; padding: 18px 20px; border: 1px solid #dce4dc; border-radius: 16px; background: #f6f8f3; }
.pdf-assessment > div > span { color: #78827d; font-size: 8px; font-weight: 800; letter-spacing: .11em; }
.pdf-assessment h2 { margin: 5px 0; font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 500; }
.pdf-assessment p { margin: 0; color: #69746e; font-size: 9px; line-height: 1.4; }
.pdf-assessment > strong { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 68px; color: #314239; border-left: 1px solid #d8dfdb; font-family: Georgia, serif; font-size: 27px; }
.pdf-assessment > strong small { width: 70px; margin-top: 3px; font-family: Arial, sans-serif; font-size: 7px; font-weight: 700; line-height: 1.2; text-align: center; }
.pdf-assessment.priority { border-color: #d8c9b9; background: #fbf5ed; }.pdf-assessment.priority > strong { color: #8b5b45; }
.pdf-section-heading { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 10px; }
.pdf-section-heading > div { display: flex; align-items: center; gap: 9px; }.pdf-section-heading > div > span { display: grid; place-items: center; width: 26px; height: 26px; color: #fff; background: #8fa157; border-radius: 8px; font-size: 9px; font-weight: 900; }
.pdf-section-heading h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 500; }.pdf-section-heading > p { margin: 0; color: #8a938e; font-size: 8px; }
.pdf-signal-list { display: grid; gap: 7px; }
.pdf-signal { display: grid; grid-template-columns: 7px 1fr auto; gap: 11px; align-items: center; min-height: 54px; padding: 10px 12px; border: 1px solid #e0e5e1; border-radius: 12px; }
.pdf-signal > i { width: 7px; height: 32px; background: #abb69c; border-radius: 4px; }.pdf-signal.priority > i { background: #b87555; }
.pdf-signal strong { display: block; margin-bottom: 3px; font-size: 10px; }.pdf-signal p { margin: 0; color: #6d7671; font-size: 8px; line-height: 1.35; }
.pdf-signal > span { padding: 5px 7px; color: #61704a; background: #eef2e3; border-radius: 7px; font-size: 7px; font-weight: 800; white-space: nowrap; }.pdf-signal.priority > span { color: #8a543e; background: #f7eade; }
.pdf-profile-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 14px; border: 1px solid #dde3df; border-radius: 13px; overflow: hidden; }
.pdf-profile-strip > div { min-width: 0; padding: 11px 12px; border-right: 1px solid #dde3df; }.pdf-profile-strip > div:last-child { border-right: 0; }
.pdf-profile-strip small, .pdf-family-grid span, .pdf-data-grid small { display: block; margin-bottom: 5px; color: #828c86; font-size: 7px; font-weight: 800; letter-spacing: .04em; }.pdf-profile-strip strong { display: block; overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.pdf-completeness { display: flex; align-items: center; gap: 12px; margin-top: 12px; }.pdf-completeness > div { width: 150px; height: 7px; overflow: hidden; background: #e9ede9; border-radius: 8px; }.pdf-completeness > div span { display: block; width: var(--value); height: 100%; background: #91a459; border-radius: inherit; }
.pdf-completeness p { margin: 0; }.pdf-completeness strong, .pdf-completeness small { display: block; }.pdf-completeness strong { font-size: 9px; }.pdf-completeness small { margin-top: 2px; color: #7f8984; font-size: 7px; }
.pdf-overview-context { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }.pdf-overview-context section { min-height: 84px; padding: 12px; background: #f5f7f2; border-radius: 12px; }.pdf-overview-context span { color: #7d895f; font-size: 7px; font-weight: 900; letter-spacing: .08em; }.pdf-overview-context p { margin: 7px 0 0; color: #66716b; font-size: 8px; line-height: 1.4; }
.pdf-report-disclaimer { margin-top: 16px; padding: 11px 13px; color: #59625e; background: #eef5f6; border-left: 4px solid #25a9c4; border-radius: 4px 10px 10px 4px; font-size: 8px; line-height: 1.45; }
.pdf-report-footer { position: absolute; right: 50px; bottom: 28px; left: 50px; display: flex; justify-content: space-between; padding-top: 10px; color: #7e8782; border-top: 1px solid #dde3dd; font-size: 7px; }
.pdf-title-block { margin: 24px 0 15px; }.pdf-title-block > span { color: #8fa157; font-size: 8px; font-weight: 900; letter-spacing: .12em; }.pdf-title-block h1 { margin: 6px 0; font-family: Georgia, "Times New Roman", serif; font-size: 27px; font-weight: 500; }.pdf-title-block p { max-width: 610px; margin: 0; color: #6d7671; font-size: 9px; line-height: 1.45; }
.pdf-pedigree-card { padding: 12px 16px 10px; border: 1px solid #dfe5df; border-radius: 18px; background: linear-gradient(180deg, #fafbf8, #f4f7f1); }
.pdf-pedigree { display: block; width: 100%; height: 330px; }.pdf-pedigree text { font-family: Arial, sans-serif; }.pedigree-label { fill: #435049; font-size: 8px; font-weight: 700; }.pedigree-side { fill: #87918b; font-size: 8px; font-weight: 800; letter-spacing: .08em; }.pedigree-count { fill: #69746e; font-size: 9px; }
.pedigree-lines { fill: none; stroke: #b9c1bc; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }.pedigree-lines .pedigree-uncertain-line { stroke-dasharray: 5 5; }
.pedigree-aggregate > path { fill: #fff; stroke: #7b8880; stroke-width: 2; }
.pdf-pedigree-legend { display: flex; align-items: center; justify-content: center; gap: 13px; padding-top: 8px; border-top: 1px solid #dfe5df; color: #68736d; font-size: 7px; }.pdf-pedigree-legend span { display: flex; align-items: center; gap: 5px; white-space: nowrap; }.pdf-pedigree-legend i { display: inline-block; width: 10px; height: 10px; border: 1px solid #738078; }.pdf-pedigree-legend .circle { border-radius: 50%; }.pdf-pedigree-legend .diamond { transform: rotate(45deg); }.pdf-pedigree-legend .affected { background: #9cad62; }.pdf-pedigree-legend b { font-size: 12px; }
.pdf-pedigree-caption { margin: 6px 0 0; color: #7b8580; font-size: 7px; line-height: 1.35; text-align: center; }
.pdf-family-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }.pdf-family-grid section { min-height: 78px; padding: 12px; border: 1px solid #e0e5e1; border-radius: 12px; }.pdf-family-grid strong { display: block; font-size: 9px; }.pdf-family-grid p { margin: 5px 0 0; color: #727c77; font-size: 8px; line-height: 1.35; }
.pdf-history-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }.pdf-history-cards section { min-height: 90px; padding: 12px; background: #f5f7f2; border-radius: 12px; }.pdf-history-cards strong { font-size: 9px; }.pdf-history-cards p { margin: 6px 0 0; color: #69746e; font-size: 8px; line-height: 1.4; }
.pdf-note { display: grid; grid-template-columns: 155px 1fr; gap: 14px; margin-top: 12px; padding: 12px 14px; color: #304239; background: #edf2df; border-radius: 12px; }.pdf-note strong { font-size: 9px; }.pdf-note p { margin: 0; font-size: 8px; line-height: 1.45; }
.pdf-detail-columns { display: grid; grid-template-columns: 1.08fr .92fr; gap: 20px; }.pdf-section-heading.compact { margin: 10px 0 9px; }.pdf-section-heading.compact h2 { font-size: 15px; }.pdf-section-heading.compact > div > span { width: 23px; height: 23px; }
.pdf-data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }.pdf-data-grid > div { min-height: 50px; padding: 9px 10px; border: 1px solid #e0e5e1; border-radius: 10px; }.pdf-data-grid strong { display: block; font-size: 8px; line-height: 1.3; }.pdf-data-grid.lifestyle { grid-template-columns: 1fr 1fr; }
.pdf-section-heading.missing { margin-top: 18px; }.pdf-limitations { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }.pdf-limitations li { position: relative; padding: 9px 10px 9px 25px; color: #67716c; background: #f7f5f1; border-radius: 9px; font-size: 8px; line-height: 1.4; }.pdf-limitations li::before { position: absolute; top: 10px; left: 10px; width: 7px; height: 7px; background: #b88a65; border-radius: 50%; content: ""; }
.pdf-next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 18px; padding: 14px; background: #263b32; border-radius: 16px; }.pdf-next-steps > div { display: grid; grid-template-columns: 24px 1fr; gap: 8px; }.pdf-next-steps span { display: grid; place-items: center; width: 24px; height: 24px; color: #263b32; background: #cbd99d; border-radius: 8px; font-size: 9px; font-weight: 900; }.pdf-next-steps p { margin: 0; color: #dbe3df; font-size: 8px; line-height: 1.4; }.pdf-next-steps strong { display: block; margin-bottom: 3px; color: #fff; font-size: 8px; }
.pdf-method { margin-top: 15px; padding: 13px 14px; border: 1px solid #dfe5df; border-radius: 12px; }.pdf-method > strong { font-size: 9px; }.pdf-method p { margin: 6px 0 0; color: #69746e; font-size: 8px; line-height: 1.45; }.pdf-method .pdf-sources { color: #53685e; font-size: 7px; font-weight: 700; }

/* PDF information system: simple, data-led, and consistent across four pages. */
.pdf-report-hero-simple { grid-template-columns: 1fr 118px; min-height: 132px; margin-bottom: 13px; padding-block: 20px; }
.pdf-completeness-ring { position: relative; width: 100px; height: 100px; justify-self: end; overflow: visible; }
.pdf-completeness-ring.complete { box-sizing: border-box; border: 8px solid #cbd99d; border-radius: 50%; }
.pdf-completeness-ring svg { display: block; width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); }
.pdf-completeness-ring circle { fill: none; stroke-width: 8; }
.pdf-completeness-ring .pdf-ring-track { stroke: rgba(255,255,255,.14); }
.pdf-completeness-ring .pdf-ring-progress { stroke: #cbd99d; stroke-linecap: round; }
.pdf-completeness-ring > div { position: absolute; inset: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: visible; text-align: center; }
.pdf-completeness-ring strong { display: block; color: #fff; font-family: Arial, "Segoe UI", sans-serif; font-size: 18px; font-variant-numeric: tabular-nums; font-weight: 800; letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.pdf-completeness-ring span { display: block; margin-top: 5px; color: rgba(255,255,255,.72); font-size: 6px; font-weight: 700; letter-spacing: .045em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.pdf-section-heading.compact-space { margin: 15px 0 8px; }
.pdf-evidence-map { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pdf-evidence-map article { display: grid; grid-template-columns: 34px 1fr; gap: 9px; min-height: 116px; padding: 12px; overflow: hidden; border: 1px solid #e0e5e1; border-radius: 13px; background: #fafbf9; }
.pdf-evidence-map article > p { grid-column: 1 / -1; margin: 2px 0 0; color: #68736d; font-size: 8px; line-height: 1.38; }
.pdf-evidence-icon { display: grid; place-items: center; width: 34px; height: 34px; color: #6d7c39; background: #edf2df; border-radius: 10px; }
.pdf-evidence-map .family .pdf-evidence-icon { color: #177a8e; background: #e4f3f6; }
.pdf-evidence-map .genetics .pdf-evidence-icon { color: #a55d4b; background: #f9e8e3; }
.pdf-evidence-icon svg, .pdf-genetic-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pdf-evidence-map article > div:nth-child(2) > span { display: block; margin: 2px 0 5px; color: #7c8781; font-size: 7px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.pdf-evidence-map article > div:nth-child(2) > strong { display: inline-block; padding: 4px 6px; color: #64706a; background: #eef1ee; border-radius: 6px; font-size: 8px; }
.pdf-evidence-map article > div:nth-child(2) > strong.noted { color: #60732f; background: #edf2df; }
.pdf-evidence-map article > div:nth-child(2) > strong.unknown { color: #8d6349; background: #f8ede4; }
.pdf-signal-list-compact .pdf-signal { min-height: 49px; padding-block: 8px; }
.pdf-profile-strip.five { grid-template-columns: .62fr 1.15fr 1.5fr .7fr .7fr; margin-top: 12px; }
.pdf-profile-strip.five > div { display: flex; min-height: 56px; flex-direction: column; justify-content: center; }
.pdf-profile-strip.five strong { white-space: normal; line-height: 1.25; }
.pdf-page-overview .pdf-report-disclaimer { margin-top: 12px; }

.pdf-page-family .pdf-title-block { margin-bottom: 11px; }
.pdf-page-family .pdf-pedigree-card { padding-top: 8px; }
.pdf-page-family .pdf-pedigree { height: 300px; }
.pdf-family-snapshot { display: grid; grid-template-columns: 1fr 1fr 1.18fr; margin-top: 10px; overflow: hidden; border: 1px solid #dde3df; border-radius: 12px; }
.pdf-family-snapshot > div { min-height: 56px; padding: 10px 12px; border-right: 1px solid #dde3df; }
.pdf-family-snapshot > div:last-child { border-right: 0; }
.pdf-family-snapshot span { display: block; margin-bottom: 5px; color: #7b8780; font-size: 7px; font-weight: 900; letter-spacing: .06em; }
.pdf-family-snapshot strong { display: block; font-size: 8px; line-height: 1.3; }
.pdf-family-table, .pdf-review-table { width: 100%; overflow: hidden; border-spacing: 0; border: 1px solid #dfe5e1; border-radius: 11px; font-size: 8px; }
.pdf-family-table th, .pdf-review-table th { padding: 7px 8px; color: #657069; background: #edf1ed; font-size: 7px; font-weight: 900; letter-spacing: .04em; text-align: left; text-transform: uppercase; }
.pdf-family-table td { padding: 10px 8px; color: #606b65; border-top: 1px solid #e2e7e3; line-height: 1.3; }
.pdf-family-table td strong { color: #2d3d35; font-size: 8px; }
.pdf-family-table tr.empty td { padding: 15px; text-align: center; }
.pdf-history-cards.two { grid-template-columns: 1fr 1fr; margin-top: 10px; }
.pdf-history-cards.two section { min-height: 70px; }
.pdf-page-family .pdf-note { margin-top: 10px; }

.pdf-personal-grid { display: grid; grid-template-columns: .6fr 1.1fr 1.55fr 1fr; overflow: hidden; border: 1px solid #dde3df; border-radius: 13px; }
.pdf-personal-grid section { min-width: 0; min-height: 62px; padding: 12px; border-right: 1px solid #dde3df; }
.pdf-personal-grid section:last-child { border-right: 0; }
.pdf-personal-grid span { display: block; margin-bottom: 6px; color: #818b85; font-size: 7px; font-weight: 900; letter-spacing: .05em; }
.pdf-personal-grid strong { display: block; font-size: 9px; line-height: 1.3; }
.pdf-genetic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.pdf-genetic-grid > section { display: grid; grid-template-columns: 48px 1fr; gap: 12px; min-height: 105px; padding: 14px; border: 1px solid #eaded9; border-radius: 13px; background: #fff8f5; }
.pdf-genetic-icon { display: grid; place-items: center; width: 46px; height: 46px; color: #a25f4e; background: #f5dfd8; border-radius: 13px; }
.pdf-genetic-icon.family { color: #177a8e; background: #e4f3f6; }
.pdf-genetic-grid span { display: block; margin: 2px 0 5px; color: #8e756d; font-size: 7px; font-weight: 900; letter-spacing: .06em; }
.pdf-genetic-grid strong { display: block; font-size: 10px; }
.pdf-genetic-grid p { margin: 6px 0 0; color: #756c68; font-size: 8px; line-height: 1.45; }
.pdf-clinical-columns { display: grid; grid-template-columns: 1.08fr .92fr; gap: 18px; margin-top: 4px; }
.pdf-compact-table { overflow: hidden; border: 1px solid #dfe5e1; border-radius: 11px; }
.pdf-compact-table > div { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); min-height: 35px; border-bottom: 1px solid #e5e9e6; }
.pdf-compact-table > div:last-child { border-bottom: 0; }
.pdf-compact-table span, .pdf-compact-table strong { display: flex; align-items: center; padding: 7px 9px; font-size: 7.5px; line-height: 1.3; }
.pdf-compact-table span { color: #6f7973; background: #f7f8f6; }
.pdf-compact-table strong { color: #304039; border-left: 1px solid #e5e9e6; font-weight: 800; }
.pdf-empty-state { padding: 14px; color: #727d77; background: #f6f8f5; border-radius: 10px; font-size: 8px; text-align: center; }
.pdf-data-note { margin-top: 10px; padding: 12px; background: #eef2e3; border-radius: 11px; }
.pdf-data-note strong { font-size: 9px; }
.pdf-data-note p { margin: 5px 0 0; color: #65705f; font-size: 8px; line-height: 1.4; }
.pdf-page-details .pdf-report-disclaimer { margin-top: 12px; }

.pdf-page-actions .pdf-title-block { margin-bottom: 12px; }
.pdf-review-table th:first-child { width: 106px; }
.pdf-review-table th:nth-child(2) { width: 175px; }
.pdf-review-table td { padding: 8px; color: #65706a; border-top: 1px solid #e2e7e3; font-size: 7.5px; line-height: 1.35; vertical-align: top; }
.pdf-review-table td strong { color: #2f3e36; font-size: 8px; }
.pdf-review-table td > span { display: inline-block; padding: 4px 6px; color: #61704a; background: #eef2e3; border-radius: 6px; font-size: 6.5px; font-weight: 900; white-space: nowrap; }
.pdf-review-table td > span.priority { color: #8a543e; background: #f7eade; }
.pdf-review-table td > span.limited { color: #6f7772; background: #eef0ee; }
.pdf-action-columns { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; margin-top: 4px; }
.pdf-document-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.pdf-document-list li { position: relative; min-height: 31px; padding: 8px 9px 8px 32px; color: #53615a; border: 1px solid #e0e5e1; border-radius: 9px; font-size: 8px; }
.pdf-document-list li::before { position: absolute; top: 7px; left: 9px; width: 14px; height: 14px; border: 1px solid #93a068; border-radius: 4px; content: ""; }
.pdf-page-actions .pdf-next-steps { margin-top: 13px; }
.pdf-page-actions .pdf-method { margin-top: 12px; }
.pdf-page-actions .pdf-report-disclaimer { margin-top: 10px; }

/* PDF readability floor: supporting copy remains legible when printed at A4. */
.pdf-assessment p { font-size: 10px; line-height: 1.45; }
.pdf-assessment > strong small { font-size: 8px; }
.pdf-signal p { font-size: 9px; line-height: 1.4; }
.pdf-signal > span { font-size: 8px; }
.pdf-profile-strip small { font-size: 8px; }
.pdf-profile-strip strong { font-size: 10px; }
.pdf-report-disclaimer { font-size: 9px; }
.pedigree-label, .pedigree-side { font-size: 9px; }
.pedigree-count { font-size: 10px; }
.pdf-pedigree-legend { font-size: 8px; }
.pdf-history-cards strong, .pdf-note strong { font-size: 10px; }
.pdf-history-cards p, .pdf-note p { font-size: 9px; }
.pdf-limitations li { font-size: 9px; }
.pdf-next-steps p, .pdf-next-steps strong { font-size: 9px; }
.pdf-method > strong { font-size: 10px; }
.pdf-method p { font-size: 9px; }
.pdf-method .pdf-sources { font-size: 8px; }
.pdf-evidence-map article > p { font-size: 9px; }
.pdf-evidence-map article > div:nth-child(2) > span { font-size: 8px; }
.pdf-evidence-map article > div:nth-child(2) > strong { font-size: 9px; }
.pdf-family-snapshot span, .pdf-personal-grid span, .pdf-genetic-grid span { font-size: 8px; }
.pdf-family-snapshot strong, .pdf-family-table, .pdf-family-table td strong, .pdf-personal-grid strong { font-size: 9px; }
.pdf-family-table th, .pdf-review-table th { font-size: 8px; }
.pdf-family-table td { font-size: 9px; }
.pdf-genetic-grid p { font-size: 9px; }
.pdf-compact-table span, .pdf-compact-table strong { font-size: 9px; }
.pdf-data-note p, .pdf-document-list li { font-size: 9px; }
.pdf-review-table td { font-size: 8.5px; }
.pdf-review-table td strong { font-size: 9px; }
.pdf-review-table td > span { font-size: 7.5px; }

@keyframes cardIn { from { opacity: 0; transform: translateY(13px); } }
@keyframes messageIn { from { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes visualIn { from { opacity: 0; transform: translateY(15px) scale(.96); } }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes pulse { 50% { transform: scale(1.07); } }
@keyframes float { 50% { transform: translateY(-9px); } }
@keyframes dash { to { stroke-dashoffset: -300; } }
@keyframes spin { to { transform: rotate(360deg); } }

body.capture-mode .chat-scroll { height: auto; overflow: visible; }
body.capture-mode .app-shell { height: auto; min-height: 690px; overflow: visible; }
body.capture-mode .conversation-footer { display: none; }
body.capture-mode .conversation-panel::after { display: none; }

@media (max-width: 1180px) {
  .app-shell { grid-template-columns: 218px minmax(440px,1fr) 296px; }
  .journey-panel { padding-inline: 20px; }
  .visual-panel { padding-inline: 22px; }
  .header-actions { gap: 14px; }
}

@media (max-width: 1100px) {
  .utility-inner, .site-header, main { width: min(100% - 34px, 860px); }
  .utility-inner > span, .demo-pill { display: none; }
  .intro-band { padding-top: 30px; }
  .intro-band > p { width: 45%; }
  .app-shell { grid-template-columns: 190px 1fr; }
  .visual-panel { display: none; }
  .mobile-visual {
    height: 92px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 24px;
    color: #fff;
    background: #25342f;
    overflow: hidden;
  }
  .mobile-visual-stage { width: 78px; height: 78px; display: grid; place-items: center; }
  .mobile-visual-stage svg { width: 92px; height: 118px; }
  .mobile-visual-stage svg.mobile-section-icon { width: 64px; height: 64px; }
  .mobile-visual-stage .line { fill: none; stroke: rgba(255,255,255,.8); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-visual-stage .soft-line { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 1; }
  .mobile-visual-stage .olive { fill: var(--olive); }
  .mobile-visual-stage .cyan { fill: var(--cyan); }
  .mobile-visual-stage .cream { fill: #eff3df; }
  .mobile-visual-stage .coral { fill: var(--coral); }
  .mobile-visual-stage .dark { fill: #25342f; }
  .mobile-visual span { display: block; color: rgba(255,255,255,.55); font-size: 8px; text-transform: uppercase; letter-spacing: .12em; }
  .mobile-visual strong { display: block; margin-top: 5px; font-family: Georgia, "Times New Roman", serif; font-size: 15px; }
}

@media (max-width: 720px) {
  .utility-inner { justify-content: center; }
  .site-header { height: 75px; }
  .brand { min-width: 0; }
  .brand img { width: 210px; }
  .appointment-link { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; font-size: 0; }
  .appointment-link span { font-size: 18px; }
  .intro-band { display: block; padding: 28px 2px 24px; }
  .intro-band h1 { font-size: 40px; }
  .intro-band > p { width: 100%; margin-top: 20px; }
  .app-shell {
    display: block;
    height: min(720px, calc(100vh - 16px));
    height: min(720px, calc(100svh - 16px));
    min-height: 0;
    border-radius: 22px;
  }
  .journey-panel { display: none; }
  .conversation-topbar { padding-inline: 17px; }
  .mobile-visual { height: 76px; padding-inline: 17px; }
  .mobile-visual-stage { width: 58px; height: 58px; }
  .mobile-visual-stage svg { width: 72px; height: 92px; }
  .mobile-visual-stage svg.mobile-section-icon { width: 54px; height: 54px; }
  .mobile-progress { display: grid; justify-items: end; gap: 7px; margin-left: auto; }
  .mobile-progress strong { margin: 0; color: #fff; font-family: inherit; font-size: 13px; line-height: 1; }
  .text-button { font-size: 9px; }
  .text-button, .icon-button, .back-button, .help-button { min-height: 44px; }
  .icon-button { width: 44px; height: 44px; }
  .chat-scroll { height: 520px; padding: 25px 20px 20px; }
  .question-card h3 { font-size: 23px; }
  .conversation-footer { padding-inline: 14px; }
  .conversation-footer > span { display: none; }
  .answer-grid { grid-template-columns: 1fr; }
  .welcome-points { grid-template-columns: 1fr; }
  .welcome-point { display: flex; align-items: center; gap: 10px; }
  .welcome-point strong { margin: 0; }
  .trust-strip { grid-template-columns: 1fr; }
  .results-hero { grid-template-columns: 1fr 112px; padding: 21px; }
  .result-orbit { width: 105px; height: 105px; }
  .consultation-assessment { grid-template-columns: 1fr; }
  .consultation-caveat { grid-column: 1; }
  .result-map { grid-template-columns: 1fr 1fr; }
  .result-card.wide { grid-column: span 2; }
  .review-panel, .delivery-actions { grid-template-columns: 1fr; }
  .privacy-footer { width: calc(100% - 34px); margin-top: -38px; }
}

@media (max-width: 430px) {
  .utility-bar { display: none; }
  .site-header, main { width: calc(100% - 22px); }
  .site-header { height: 68px; }
  .brand img { width: 184px; }
  .intro-band h1 { font-size: 34px; }
  .intro-band > p { font-size: 13px; }
  .app-shell { margin-inline: -2px; }
  .chat-scroll { height: 545px; padding-inline: 16px; }
  .topbar-actions { gap: 0; }
  .text-button { max-width: 98px; line-height: 1.2; }
  .number-input { grid-template-columns: 1fr 72px; }
  .summary-actions, .dialog-actions { flex-direction: column; }
  .results-hero { grid-template-columns: 1fr; }
  .result-orbit { justify-self: start; width: 96px; height: 96px; }
  .consultation-assessment { padding: 17px; border-radius: 17px; }
  .consultation-summary h4 { font-size: 20px; }
  .result-map { grid-template-columns: 1fr; }
  .result-card.wide { grid-column: span 1; }
  .result-section-head { display: block; }
  .result-section-head p { margin-top: 6px; text-align: left; }
  .email-row { grid-template-columns: 1fr; }
  .privacy-footer { display: block; margin-top: -42px; }
  .privacy-footer button { margin-top: 11px; }
  .privacy-dialog { padding: 15px; }
  .privacy-flow { grid-template-columns: 1fr 1fr 1fr; }
  .privacy-flow > span { display: none; }
  .privacy-flow > div { min-height: 0; }
  .privacy-sections { grid-template-columns: 1fr 1fr; }
}

/* Final readability pass: keep supporting text legible on every viewport. */
.utility-bar { font-size: 12px; }
.eyebrow { font-size: 12px; }
.progress-copy span { font-size: 9px; }
.journey-copy > span { font-size: 11px; }
.section-item span:last-child { font-size: 13px; }
.privacy-note strong { font-size: 11px; }
.privacy-note small { font-size: 11px; }
.assistant-identity strong { font-size: 14px; }
.assistant-identity div span { font-size: 11px; }
.text-button { font-size: 12px; }
.bubble { font-size: 14px; }
.message small { font-size: 10px; }
.question-index { font-size: 11px; }
.question-card > p { font-size: 14px; }
.answer-copy strong { font-size: 14px; }
.answer-copy small { font-size: 12px; }
.input-error { font-size: 12px; }
.number-output small { font-size: 11px; }
.number-submit, .multi-submit, .start-button { font-size: 13px; }
.welcome-point strong { font-size: 12px; }
.consent-row { font-size: 12px; }
.summary-actions a, .summary-actions button { font-size: 13px; }
.results-eyebrow { font-size: 11px; }
.results-hero p { font-size: 14px; }
.result-orbit small { font-size: 10px; }
.result-section-head p { font-size: 12px; }
.result-state { font-size: 10px; }
.result-card h5 { font-size: 14px; }
.result-card p { font-size: 12px; }
.consultation-kicker { font-size: 10px; }
.consultation-summary > p { font-size: 12px; }
.consultation-reasons span { font-size: 10px; }
.consultation-scale > div, .consultation-scale > div.active { font-size: 11px; }
.consultation-caveat { font-size: 10px; }
.result-card-focus small { font-size: 11px; }
.family-relationship-visual small { font-size: 10px; }
.family-fact strong { font-size: 13px; }
.family-fact span { font-size: 10px; }
.genetics-visual small { font-size: 10px; }
.gene-tags span { font-size: 10px; }
.screening-visual span { font-size: 13px; }
.screening-visual small { font-size: 11px; }
.lifestyle-visual small { font-size: 10px; }
.lifestyle-visual strong { font-size: 11px; }
.family-mini-tree small { font-size: 11px; }
.review-item span { font-size: 10px; }
.review-item strong { font-size: 13px; }
.review-item small { font-size: 11px; }
.next-step-card p, .next-step-card a { font-size: 12px; }
.delivery-head p { font-size: 12px; }
.download-pdf-button, .send-email-button, .email-row input { font-size: 13px; }
.email-consent, .email-privacy-button, .delivery-note, .delivery-status { font-size: 11px; }
.results-bottom-actions button { font-size: 12px; }
.conversation-footer { font-size: 11px; }
.back-button, .help-button { font-size: 12px; }
.visual-status span { font-size: 11px; }
.fact-card p { font-size: 12px; }
.trust-strip strong { font-size: 14px; }
.trust-strip p { font-size: 13px; }
.dialog-actions a { font-size: 13px; }
.help-dialog small { font-size: 12px; }
.privacy-footer p { font-size: 12px; }
.privacy-footer button { font-size: 11px; }
.privacy-dialog-head > div > span { font-size: 11px; }
.privacy-flow b { font-size: 10px; }
.privacy-flow strong { font-size: 12px; }
.privacy-flow small { font-size: 11px; }
.privacy-sections h3 { font-size: 13px; }
.privacy-sections p { font-size: 12px; }
.privacy-legal-note { font-size: 11px; }
.privacy-confirm { font-size: 13px; }
.mobile-visual > div:not(.mobile-progress) > span { font-size: 10px; }
.mobile-visual > div:not(.mobile-progress) > strong { font-size: 16px; }

@media (max-width: 720px) {
  .site-header { gap: 12px; }
  .brand img { width: min(190px, 58vw); }
  .appointment-link { width: auto; min-width: 90px; height: 44px; padding: 0 13px; display: inline-flex; flex-direction: row; justify-content: center; flex-wrap: nowrap; gap: 7px; font-size: 12px; white-space: nowrap; }
  .appointment-link span { font-size: inherit; }
  .appointment-link .external-icon { font-size: 14px; }
  .appointment-long { display: none; }
  .appointment-short { display: inline; }
  .conversation-topbar { height: 72px; gap: 12px; padding-inline: 15px; }
  .topbar-actions { flex: 0 0 auto; }
  .demo-long { display: none; }
  .demo-short { display: inline; }
  .text-button { max-width: none; padding-inline: 9px; }
  .mobile-visual { padding-inline: 15px; }
  .mobile-progress-track { width: 78px; height: 6px; background: rgba(255,255,255,.28); }
  .chat-scroll { height: auto; min-height: 0; overflow-y: auto; padding: 25px 18px 24px; scroll-behavior: smooth; }
  .chat-log { gap: 10px; }
  .message { max-width: 92%; }
  .bubble { padding: 12px 15px; }
  .question-area { margin-top: 20px; scroll-margin-top: 18px; }
  .answer-option { min-height: 60px; padding: 13px; }
  .number-input input[type="range"] { min-height: 44px; }
  .welcome-card { padding: 17px; }
  .welcome-points { margin: 14px 0; }
  .consent-row { min-height: 44px; gap: 11px; align-items: flex-start; }
  .conversation-footer { height: auto; min-height: 62px; padding: 8px 12px; }
  .conversation-panel::after { bottom: 62px; }
  .back-button, .help-button { min-width: 112px; }
  .trust-strip { margin: 28px 0 58px; border-radius: 18px; }
  .trust-strip > div { padding: 22px; }
  .privacy-footer { margin-top: -30px; padding: 17px; }
}

@media (max-width: 430px) {
  .site-header { width: calc(100% - 20px); }
  .brand img { width: min(170px, 54vw); }
  .appointment-link { min-width: 88px; padding-inline: 12px; }
  .intro-band { padding: 22px 2px 22px; }
  .intro-band h1 { font-size: clamp(31px, 10vw, 36px); }
  .intro-band > p { margin-top: 16px; font-size: 14px; line-height: 1.65; }
  .assistant-avatar { width: 38px; height: 38px; border-radius: 12px; }
  .assistant-avatar svg { width: 28px; }
  .conversation-topbar { padding-inline: 13px; }
  .mobile-visual { height: 72px; padding-inline: 13px; gap: 10px; }
  .mobile-visual-stage { width: 48px; height: 48px; }
  .mobile-visual-stage svg { width: 62px; height: 80px; }
  .mobile-progress-track { width: 66px; }
  .chat-scroll { padding: 22px 14px 24px; }
  .question-card h3 { font-size: 22px; }
  .question-card > p { margin-bottom: 17px; }
  .answer-grid { gap: 9px; }
  .answer-icon { flex-basis: 36px; width: 36px; height: 36px; }
  .results-hero { padding: 19px; }
  .result-orbit { width: 84px; height: 84px; }
  .result-card { min-height: 0; padding: 16px; }
  .review-list, .next-step-card { padding: 16px; }
  .delivery-panel { padding: 16px; }
  .delivery-actions { margin-top: 14px; }
  .email-delivery { padding: 12px; }
  .email-privacy-button { margin-left: 29px; }
  .results-bottom-actions { gap: 8px; }
  .results-bottom-actions button { min-height: 44px; }
  .conversation-footer { justify-content: space-between; }
  .back-button, .help-button { min-width: 0; }
  .privacy-footer { width: calc(100% - 20px); margin-top: -26px; }
  .privacy-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); padding: 15px; }
}

@media (max-width: 360px), (max-width: 430px) and (max-height: 650px) {
  .privacy-dialog { padding: 8px; border-radius: 18px; }
  .privacy-dialog-head { gap: 9px; }
  .privacy-dialog-head .dialog-mark { width: 38px; height: 38px; border-radius: 12px; font-size: 18px; }
  .privacy-dialog h2 { font-size: 18px; line-height: 1.05; }
  .privacy-flow { gap: 4px; margin: 6px 0; padding: 5px; }
  .privacy-flow > div { padding: 5px; }
  .privacy-flow b { width: 18px; height: 18px; }
  .privacy-flow strong { margin-top: 3px; font-size: 10px; }
  .privacy-flow small { font-size: 9px; line-height: 1.15; }
  .privacy-sections { gap: 4px; }
  .privacy-sections section { padding: 6px; }
  .privacy-sections h3 { margin-bottom: 2px; font-size: 11px; }
  .privacy-sections p { font-size: 10px; line-height: 1.25; }
  .privacy-legal-note { margin: 4px 0; padding: 5px 7px; font-size: 9px; line-height: 1.2; }
  .privacy-confirm { height: 36px; font-size: 12px; }
}

@media (max-width: 360px) {
  .privacy-flow { display: none; }
  .privacy-sections { margin-top: 6px; }
}

@media (min-width: 431px) and (max-height: 520px) {
  .privacy-dialog { width: min(900px, calc(100% - 16px)); max-height: calc(100dvh - 16px); padding: 8px; border-radius: 16px; }
  .privacy-dialog-head { gap: 9px; }
  .privacy-dialog-head .dialog-mark { width: 38px; height: 38px; border-radius: 12px; font-size: 18px; }
  .privacy-dialog h2 { font-size: 18px; line-height: 1.05; }
  .privacy-flow { display: none; }
  .privacy-sections { grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 6px; }
  .privacy-sections section, .privacy-sections section:last-child { grid-column: auto; padding: 6px; }
  .privacy-sections h3 { margin-bottom: 2px; font-size: 11px; }
  .privacy-sections p { font-size: 10px; line-height: 1.2; }
  .privacy-legal-note { margin: 4px 0; padding: 5px 7px; font-size: 9px; line-height: 1.2; }
  .privacy-confirm { height: 34px; font-size: 12px; }
}

@media (min-width: 431px) and (max-height: 340px) {
  .privacy-dialog { width: calc(100% - 4px); max-height: calc(100dvh - 8px); padding: 6px; }
  .privacy-dialog h2 { font-size: 17px; }
  .privacy-sections section, .privacy-sections section:last-child { padding: 5px; }
  .privacy-sections h3 { font-size: 10px; }
  .privacy-sections p { font-size: 9px; line-height: 1.15; }
  .privacy-legal-note { margin-block: 2px; padding-block: 4px; font-size: 8px; line-height: 1.1; }
}

@media (max-width: 720px) and (max-height: 520px) {
  .app-shell {
    height: calc(100vh - 8px);
    height: calc(100svh - 8px);
  }
  .conversation-topbar { height: 60px; }
  .mobile-visual { height: 52px; }
  .mobile-visual-stage { display: none; }
  .conversation-footer { min-height: 52px; }
  .conversation-panel::after { bottom: 52px; }
  .chat-scroll { padding-block: 16px; }
}

/* The consent step is a focused, single-screen gate before the conversation begins. */
.app-shell.consent-mode .conversation-footer { display: none; }
.app-shell.consent-mode .conversation-panel::after { display: none; }
.app-shell.consent-mode .chat-scroll { padding-block: 22px; }
.app-shell.consent-mode .question-area { margin-top: 0; }
.app-shell.consent-mode .welcome-point {
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}
.app-shell.consent-mode .welcome-point span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 28px;
  line-height: 1;
}

@media (max-width: 1100px) {
  .app-shell.consent-mode .mobile-visual { display: none; }
}

@media (max-width: 720px) {
  .app-shell.consent-mode .chat-scroll { padding-block: 16px; }
  .app-shell.consent-mode .question-card h3 { margin: 8px 0 5px; font-size: 20px; line-height: 1.16; }
  .app-shell.consent-mode .question-card > p { margin-bottom: 12px; font-size: 14px; line-height: 1.45; }
  .app-shell.consent-mode .welcome-card { padding: 12px; }
  .app-shell.consent-mode .welcome-points { gap: 6px; margin: 8px 0; }
  .app-shell.consent-mode .welcome-point {
    min-height: 50px;
    grid-template-columns: 40px 1fr;
    gap: 9px;
    padding: 7px 9px;
    justify-items: start;
    text-align: left;
  }
  .app-shell.consent-mode .welcome-point span { width: 40px; height: 40px; font-size: 28px; }
  .app-shell.consent-mode .welcome-point strong { margin: 0; }
  .app-shell.consent-mode .consent-row { margin-block: 8px; }
  .app-shell.consent-mode .start-button { height: 48px; }
}

@media (min-width: 721px) and (max-height: 620px) {
  .journey-panel { padding: 12px 14px; }
  .progress-orbit, .privacy-note { display: none; }
  .journey-copy { margin: 0 0 6px; }
  .journey-copy > span { display: none; }
  .journey-copy h2 { margin-top: 0; font-size: 17px; }
  .section-item { min-height: 38px; }
  .section-dot { width: 29px; height: 29px; }
  .section-list::before { left: 14px; }
}

/* Native phone and tablet experience. */
@media (max-width: 1100px) {
  html, body { width: 100%; height: 100%; overflow: hidden; overscroll-behavior: none; background: #f4f6f3; }
  .utility-bar, .site-header, .intro-band, .trust-strip, .privacy-footer { display: none; }
  main { width: 100%; height: 100%; margin: 0; }
  .app-shell, .app-shell.consent-mode {
    display: block;
    width: 100%;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    margin: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #f4f6f3;
  }
  .journey-panel, .visual-panel { display: none; }
  .conversation-panel { height: 100%; background: #f4f6f3; }
  .conversation-panel::after { display: none; }
  .conversation-topbar {
    flex: 0 0 auto;
    height: calc(66px + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 20px 0;
    border-bottom: 1px solid rgba(40,48,44,.08);
    background: rgba(255,255,255,.96);
    box-shadow: 0 1px 14px rgba(35,49,42,.05);
    backdrop-filter: blur(18px);
  }
  .assistant-avatar { width: 40px; height: 40px; border-radius: 50%; }
  .assistant-identity strong { font-size: 15px; line-height: 1; }
  .assistant-identity div span { margin-top: 5px; font-size: 9px; letter-spacing: .03em; text-transform: none; }
  .topbar-actions { gap: 4px; }
  .text-button { min-height: 40px; padding-inline: 12px; color: var(--olive-dark); background: var(--olive-soft); font-size: 12px; }
  .icon-button { width: 40px; height: 40px; }
  .mobile-visual {
    flex: 0 0 54px;
    display: flex;
    height: 54px;
    gap: 12px;
    padding: 8px 20px;
    color: var(--ink);
    background: #fff;
    border-bottom: 1px solid rgba(40,48,44,.08);
  }
  .mobile-visual-stage { display: none; }
  .mobile-visual > div:not(.mobile-progress) { min-width: 0; }
  .mobile-visual > div:not(.mobile-progress) > span { color: #929b96; font-size: 9px; letter-spacing: .08em; }
  .mobile-visual > div:not(.mobile-progress) > strong { margin-top: 2px; overflow: hidden; color: var(--ink); font-family: inherit; font-size: 14px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-progress { display: grid; justify-items: end; gap: 5px; margin-left: auto; }
  .mobile-progress strong { margin: 0; color: var(--ink); font-size: 12px; }
  .mobile-progress-track { width: 96px; height: 5px; background: #e5e9e4; }
  .mobile-progress-track i { display: block; height: 100%; background: var(--olive); border-radius: inherit; }
  .chat-scroll {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    padding: 22px max(22px, env(safe-area-inset-left)) 28px max(22px, env(safe-area-inset-right));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scroll-padding-block: 18px;
    scrollbar-gutter: auto;
    background: #f4f6f3;
    -webkit-overflow-scrolling: touch;
  }
  .chat-log, .question-area { width: min(100%, 760px); margin-inline: auto; }
  .chat-log { gap: 10px; }
  .message { max-width: min(82%, 560px); }
  .bubble { padding: 12px 15px; border: 1px solid rgba(40,48,44,.06); border-radius: 18px; font-size: 14px; line-height: 1.5; box-shadow: 0 3px 12px rgba(39,52,45,.04); }
  .message.bot .bubble { background: #fff; border-bottom-left-radius: 6px; }
  .message.user .bubble { background: #314039; border-color: #314039; border-bottom-right-radius: 6px; }
  .message small { margin-top: 4px; padding-inline: 3px; font-size: 9px; letter-spacing: .02em; text-transform: none; }
  .typing { margin: 11px max(0px, calc((100% - 760px) / 2)); background: #fff; border: 1px solid rgba(40,48,44,.06); box-shadow: 0 3px 12px rgba(39,52,45,.04); }
  .question-area { margin-top: 16px; scroll-margin-block: 18px; }
  .question-card:not(.results-dashboard):not(.summary-card) {
    padding: 22px;
    border: 1px solid rgba(40,48,44,.09);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(35,49,42,.08);
  }
  .question-index { font-size: 10px; letter-spacing: .09em; }
  .question-card h3 { margin: 10px 0 7px; font-size: clamp(23px, 4.2vw, 30px); line-height: 1.17; }
  .question-card > p { margin-bottom: 18px; font-size: 14px; line-height: 1.5; }
  .answer-grid { gap: 9px; }
  .answer-option {
    min-height: 58px;
    padding: 11px 13px;
    border-color: #dfe5df;
    border-radius: 16px;
    background: #fbfcfa;
    box-shadow: none;
    touch-action: manipulation;
  }
  .answer-option:hover { transform: none; box-shadow: none; }
  .answer-option:active { transform: scale(.985); background: #f0f3eb; }
  .answer-icon { flex-basis: 38px; width: 38px; height: 38px; border-radius: 12px; }
  .sex-option[data-option="female"] .answer-icon-glyph,
  .sex-option[data-option="male"] .answer-icon-glyph { display: block; font-family: "Helvetica Neue", Arial, sans-serif; font-size: 21px; line-height: 1; transform: translateY(-1px); }
  .answer-copy strong { font-size: 14px; }
  .answer-copy small { font-size: 12px; }
  .consent-row input, .email-consent input { flex-basis: 24px; width: 24px; height: 24px; }
  .checkmark { width: 22px; height: 22px; }
  .field-wrap input, .number-output { height: 58px; background: #f7f9f6; }
  .text-alternative { min-height: 58px; padding-inline: 13px; border-radius: 15px; font-size: 13px; }
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]) { font-size: 16px; }
  .field-wrap button { top: 7px; right: 7px; }
  .number-submit, .multi-submit, .start-button { min-height: 52px; height: auto; border-radius: 16px; font-size: 14px; }
  .number-alternative { min-height: 48px; font-size: 13px; }
  .number-alternatives { gap: 10px; margin-top: 12px; }
  .welcome-card > .text-button { display: inline-flex; align-items: center; margin: 1px 0 10px; }
  .summary-actions { gap: 12px; }
  .delivery-actions { gap: 14px; }
  .email-row { gap: 10px; }
  .results-bottom-actions { gap: 12px; margin-top: 18px; }
  .conversation-footer {
    flex: 0 0 auto;
    min-height: calc(58px + env(safe-area-inset-bottom));
    height: auto;
    padding: 7px max(16px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(16px, env(safe-area-inset-left));
    color: #68736d;
    border-top: 1px solid rgba(40,48,44,.09);
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(18px);
  }
  .conversation-footer > span { display: none; }
  .back-button, .help-button { min-width: 0; min-height: 44px; padding: 8px 10px; font-size: 12px; }
  .back-button:not(:disabled), .help-button { color: #4f5d55; }
  .app-shell.consent-mode .conversation-topbar { border-bottom-color: transparent; }
  .app-shell.consent-mode .chat-scroll { display: grid; align-items: center; padding-block: 14px; }
  .app-shell.consent-mode .question-area { margin-block: auto; }
  .app-shell.consent-mode .question-card:not(.results-dashboard):not(.summary-card) { box-shadow: none; }
  .app-shell.consent-mode .welcome-card { padding: 14px; border-radius: 18px; }
  .results-dashboard { width: min(100%, 860px); margin-inline: auto; padding-bottom: 10px; }
  .results-hero { border-radius: 22px; }
  .delivery-actions { align-items: start; }
  .download-pdf-button { align-self: start; width: 100%; height: 52px; }
  .delivery-panel { margin-bottom: 12px; }
}

@media (max-width: 600px) {
  .conversation-topbar { height: calc(62px + env(safe-area-inset-top)); padding-inline: 14px; }
  .assistant-avatar { width: 38px; height: 38px; }
  .assistant-identity { gap: 9px; }
  .assistant-identity div span { max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .text-button { padding-inline: 10px; }
  .mobile-visual { height: 50px; flex-basis: 50px; padding-inline: 15px; }
  .mobile-progress-track { width: 72px; }
  .chat-scroll { padding: 16px max(12px, env(safe-area-inset-left)) 22px max(12px, env(safe-area-inset-right)); }
  .message { max-width: 88%; }
  .question-card:not(.results-dashboard):not(.summary-card) { padding: 17px; border-radius: 20px; }
  .question-card h3 { font-size: 23px; }
  .answer-grid { grid-template-columns: 1fr; gap: 11px; }
  .answer-option { min-height: 56px; padding: 9px 11px; }
  .number-input { grid-template-columns: 1fr 76px; gap: 12px; }
  .number-alternatives { display: grid; grid-template-columns: 1fr; }
  .welcome-points { grid-template-columns: 1fr; }
  .app-shell.consent-mode .question-card h3 { font-size: 21px; }
  .app-shell.consent-mode .question-card > p { font-size: 14px; }
  .app-shell.consent-mode .welcome-card { padding: 10px; }
  .app-shell.consent-mode .welcome-point { min-height: 46px; }
  .app-shell.consent-mode .consent-row { font-size: 12px; }
  .results-hero { border-radius: 20px; }
  .result-orbit { width: 108px; height: 108px; justify-self: center; margin: 10px auto 0; }
  .result-orbit div { inset: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
  .result-orbit strong { display: block; font-size: 22px; line-height: 1; text-align: center; white-space: nowrap; }
  .result-orbit small { display: block; width: 76px; margin-top: 5px; font-size: 8px; letter-spacing: .035em; line-height: 1.2; text-align: center; }
  .result-section-head { margin-top: 22px; }
  .consultation-scale { padding-left: 22px; }
}

@media (max-width: 1100px) and (max-height: 650px) {
  .conversation-topbar { height: calc(56px + env(safe-area-inset-top)); }
  .assistant-avatar { width: 34px; height: 34px; }
  .assistant-avatar svg { width: 25px; }
  .app-shell.consent-mode .chat-scroll { padding-block: 6px; }
  .app-shell.consent-mode .question-card:not(.results-dashboard):not(.summary-card) { padding: 10px 12px; border-radius: 17px; }
  .app-shell.consent-mode .question-card h3 { margin: 5px 0 3px; font-size: 18px; line-height: 1.08; }
  .app-shell.consent-mode .question-card > p { margin-bottom: 6px; font-size: 11px; line-height: 1.3; }
  .app-shell.consent-mode .welcome-privacy-copy { font-size: 10px; line-height: 1.3; }
  .app-shell.consent-mode .welcome-card { padding: 6px; border-radius: 14px; }
  .app-shell.consent-mode .welcome-points { gap: 4px; margin: 4px 0; }
  .app-shell.consent-mode .welcome-point { min-height: 38px; padding: 4px 6px; }
  .app-shell.consent-mode .welcome-point span { width: 32px; height: 32px; font-size: 22px; }
  .app-shell.consent-mode .welcome-point strong { font-size: 10px; line-height: 1.25; }
  .app-shell.consent-mode .consent-row { min-height: 44px; margin: 4px 1px; font-size: 9px; line-height: 1.25; }
  .app-shell.consent-mode .consent-row input { flex-basis: 22px; width: 22px; height: 22px; }
  .app-shell.consent-mode .welcome-card > .text-button { min-height: 30px; margin-bottom: 6px; padding-block: 4px; font-size: 10px; }
  .app-shell.consent-mode .start-button { min-height: 44px; height: 44px; font-size: 12px; }
}

@media (max-width: 600px) and (max-height: 650px) {
  .assistant-identity div span { display: none; }
  .app-shell.consent-mode .welcome-points { grid-template-columns: 1fr; }
  .app-shell.consent-mode .welcome-point { grid-template-columns: 32px 1fr; }
}

@media (min-width: 431px) and (max-height: 340px) {
  .assistant-identity div span { display: none; }
  .app-shell.consent-mode .question-card:not(.results-dashboard):not(.summary-card) { padding: 3px 10px; }
  .app-shell.consent-mode .question-index, .app-shell.consent-mode .question-card > p { display: none; }
  .app-shell.consent-mode .question-card h3 { margin: 0 0 4px; }
  .app-shell.consent-mode .welcome-points { grid-template-columns: repeat(3, 1fr); }
  .app-shell.consent-mode .welcome-point {
    display: flex;
    min-height: 58px;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    text-align: center;
  }
  .app-shell.consent-mode .welcome-point span { width: 24px; height: 24px; margin-inline: auto; font-size: 18px; }
  .app-shell.consent-mode .welcome-point strong { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
