/* Owner-only preview of U23/U24 (owner 22.11). Loaded only for a verified owner preview session. */
.vhg {
  --vhg-ink: #283a6e;
  --vhg-line: #d0cec7;
  --vhg-ease: cubic-bezier(.23, 1, .32, 1);
  --vhg-key-border: #babec8;
  --vhg-key-face: linear-gradient(170deg, #fff, #fbfbf9 52%, #e9e9e5);
  --vhg-key-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 #dddedb, 0 2px 2px -1px #242b3838;
  --vhg-on-border: #293b63;
  --vhg-on-face: linear-gradient(157deg, #21325a, #364c77);
  --vhg-on-shadow: inset 0 2px 3px #12213f80, 0 1px 0 #fff;
  color: var(--vhg-ink);
  font-family: var(--font-sans);
  container: vhg / inline-size;
  margin: 28px 0 0;
  min-width: 0;
}
.vhg *, .vhg *::before, .vhg *::after { box-sizing: border-box; }
.vhg button {
  appearance: none;
  font-family: inherit;
  cursor: pointer;
  touch-action: manipulation;
  border-radius: 3px;
  -webkit-tap-highlight-color: transparent;
}
.vhg .vhg__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin: 0 0 12px;
}
.vhg .vhg__heading h2 {
  margin: 0;
  color: var(--vhg-ink);
  font-family: inherit;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -.032em;
}

/* One goal | Up to 3 — the goal buttons' own rectangle, joined; the chosen side is pressed. */
.vhg .vhg__mode { display: inline-flex; flex: none; margin: 0; }
.vhg .vhg__mode label {
  position: relative;
  display: inline-flex;
  flex-direction: row;
  gap: 0;
  margin: 0;
  cursor: pointer;
  font-weight: 500;
}
.vhg .vhg__mode input[type=radio] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}
.vhg .vhg__mode span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 13px;
  color: var(--vhg-ink);
  border: 1px solid var(--vhg-key-border);
  background: var(--vhg-key-face);
  box-shadow: var(--vhg-key-shadow);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.15;
  white-space: nowrap;
}
.vhg .vhg__mode label:first-child span { border-radius: 3px 0 0 3px; }
.vhg .vhg__mode label:last-child span { border-radius: 0 3px 3px 0; margin-left: -1px; }
.vhg .vhg__mode input:checked + span {
  position: relative;
  z-index: 1;
  color: #fff;
  border-color: var(--vhg-on-border);
  background: var(--vhg-on-face);
  box-shadow: var(--vhg-on-shadow);
}
.vhg .vhg__mode input:focus-visible + span { position: relative; z-index: 2; outline: 3px solid #86601b; outline-offset: 2px; }

/* Goal buttons */
.vhg .vhg__keys {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.vhg .vhg__keys button[name=goal] {
  min-height: 38px;
  max-width: 100%;
  padding: 8px 13px;
  color: var(--vhg-ink);
  border: 1px solid var(--vhg-key-border);
  background: var(--vhg-key-face);
  box-shadow: var(--vhg-key-shadow);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.vhg .vhg__keys button[aria-pressed=true], .vhg .vhg__keys button[data-going] {
  color: #fff;
  border-color: var(--vhg-on-border);
  background: var(--vhg-on-face);
  box-shadow: var(--vhg-on-shadow);
  transform: translateY(1px);
}
.vhg .vhg__keys button[aria-disabled=true] {
  cursor: not-allowed;
  color: #626975;
  background: #f2f2ef;
  border-color: #d5d6d5;
  box-shadow: none;
}

/* Show products and the count appear only in Up to 3. */
.vhg .vhg__submit {
  display: none;
  align-items: center;
  gap: 16px;
  min-height: 38px;
  padding: 8px 16px;
  color: #fff;
  background: linear-gradient(155deg, #364b79, #283a6e 75%);
  border: 1px solid #263765;
  box-shadow: inset 0 1px 0 #ffffff30;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 500;
}
.vhg .vhg__submit:disabled { color: #535e70; border-color: #ced2d7; background: #e3e6ea; box-shadow: none; cursor: not-allowed; }
.vhg .vhg__status { display: none; margin: 8px 0 0; min-height: 1.35em; color: #4e5765; font-size: 13px; line-height: 1.35; }
.vhg form[data-mode=multi] .vhg__submit { display: inline-flex; }
.vhg form[data-mode=multi] .vhg__status { display: block; }
.vhg form:has(input[data-vhg-mode][value=multi]:checked) .vhg__submit { display: inline-flex; }
.vhg form:has(input[data-vhg-mode][value=multi]:checked) .vhg__status { display: block; }

/* Life stages — the same family as the goal buttons, one long bar each. */
.vhg .vhg__heading--stage {
  margin: 22px 0 11px;
  padding-top: 15px;
  border-top: 1px solid var(--vhg-line);
}
.vhg .vhg__heading--stage h2 { font-size: 23px; }
.vhg .vhg__stages { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.vhg .vhg__stage {
  display: grid;
  grid-template-columns: 24px minmax(0, 13.4em) minmax(0, 1fr) 18px;
  align-items: center;
  gap: 4px 14px;
  width: 100%;
  min-height: 50px;
  padding: 8px 14px 8px 12px;
  text-align: left;
  color: var(--vhg-ink);
  border: 1px solid var(--vhg-key-border);
  background: var(--vhg-key-face);
  box-shadow: var(--vhg-key-shadow);
}
.vhg .vhg__icon { display: block; width: 24px; height: 24px; }
.vhg .vhg__name {
  color: var(--vhg-ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -.015em;
}
.vhg .vhg__description { color: #4b525c; font-size: 13.5px; line-height: 18px; font-weight: 400; }
.vhg .vhg__stage .vhg__arrow { justify-self: end; }
.vhg .vhg__arrow { display: inline-block; position: relative; width: 17px; height: 14px; flex: none; }
.vhg .vhg__arrow::before {
  content: ""; position: absolute; top: 6px; left: 0; width: 16px; height: 1.5px; background: currentColor;
}
.vhg .vhg__arrow::after {
  content: ""; position: absolute; width: 8px; height: 8px; top: 3px; right: 1px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg);
}

/* Life-stage page: the bulleted list of goals */
.vhg.vhg--list { margin: 28px 0; }
.vhg.vhg--list .vhg__heading h2 { color: var(--ink, #1c1e22); letter-spacing: -.01em; }
.vhg .vhg__list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(6, auto);
  grid-auto-flow: column;
  column-gap: 36px;
}
.vhg .vhg__list li { margin: 0; border-bottom: 1px solid #e2e2dd; }
.vhg .vhg__list li:nth-child(1), .vhg .vhg__list li:nth-child(7) { border-top: 1px solid #e2e2dd; }
.vhg .vhg__row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 10px 8px 10px 6px;
  color: var(--vhg-ink);
  border: 0;
  border-radius: 3px;
  background: transparent;
  box-shadow: none;
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.25;
  text-align: left;
}
.vhg .vhg__label { min-width: 0; overflow-wrap: anywhere; }
.vhg .vhg__mark { justify-self: center; width: 7px; height: 7px; border-radius: 1.5px; background: var(--vhg-ink); }
.vhg .vhg__row .vhg__arrow { justify-self: end; opacity: .55; }
.vhg form[data-mode=multi] .vhg__row .vhg__arrow { visibility: hidden; }
.vhg form[data-mode=multi] .vhg__mark,
.vhg .vhg__row[aria-pressed] .vhg__mark {
  position: relative;
  width: 18px;
  height: 18px;
  border: 1px solid #8b93a3;
  border-radius: 3px;
  background: #fff;
}
.vhg .vhg__row[aria-pressed=true] { background: #eef1f7; }
.vhg .vhg__row[aria-pressed=true] .vhg__mark { border-color: var(--vhg-on-border); background: var(--vhg-on-face); }
.vhg .vhg__row[aria-pressed=true] .vhg__mark::after {
  content: ""; position: absolute; left: 5px; top: 1.5px; width: 5px; height: 10px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.vhg .vhg__row[aria-disabled=true] { cursor: not-allowed; color: #6b717c; }
.vhg .vhg__row[data-going] { background: #eef1f7; }
.vhg .vhg__after { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 14px 0 0; }
.vhg .vhg__after .vhg__status { margin: 0; }
.vhg .vhg__unsure.vt-quiet {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin: 18px 0 0;
  min-height: 48px;
  padding: 10px 16px;
  font-size: 15px;
  line-height: 1.3;
  text-decoration: none;
}
.vhg .vhg__unsure b { font-weight: 600; color: var(--vhg-ink); }
.vhg .vhg__unsure span { color: var(--vhg-ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #c28a3b; }

.vhg .vhg__links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 14px 0 0; }
.vhg .vhg__links a { color: var(--vhg-ink); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.vhg [hidden] { display: none !important; }
.vhg button:focus-visible, .vhg a:focus-visible { outline: 3px solid #86601b; outline-offset: 3px; }
@media (hover:hover) and (pointer:fine) {
  .vhg .vhg__keys button[name=goal]:not([aria-disabled=true]):hover, .vhg .vhg__stage:hover, .vhg .vhg__mode label:hover input:not(:checked) + span { border-color: #73849f; }
  .vhg .vhg__row:not([aria-disabled=true]):hover { background: #f1f3f7; }
  .vhg .vhg__row:hover .vhg__arrow { opacity: 1; }
  .vhg .vhg__submit:not(:disabled):hover { background: #20305a; }
}
@media (prefers-reduced-motion:no-preference) {
  .vhg button, .vhg .vhg__arrow { transition: transform 125ms var(--vhg-ease); }
  .vhg button:not(:disabled):not(:focus-visible):active { transform: translateY(1px) scale(.986); }
  .vhg .vhg__row:not(:focus-visible):active, .vhg .vhg__stage:not(:focus-visible):active { transform: translateY(1px); }
  .vhg button:focus-visible, .vhg button:focus-visible .vhg__arrow { transition: none; }
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .vhg .vhg__stage:hover .vhg__arrow, .vhg .vhg__row:hover .vhg__arrow { transform: translateX(2px); }
}
@container vhg (max-width: 600px) {
  .vhg .vhg__stage { grid-template-columns: 24px minmax(0, 1fr) 18px; padding-block: 10px; }
  .vhg .vhg__icon { grid-row: 1 / span 2; }
  .vhg .vhg__name { grid-column: 2; grid-row: 1; }
  .vhg .vhg__description { grid-column: 2; grid-row: 2; }
  .vhg .vhg__stage .vhg__arrow { grid-column: 3; grid-row: 1 / span 2; }
  .vhg .vhg__list { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }
  .vhg .vhg__list li:nth-child(7) { border-top: 0; }
}
@media (max-width: 760px) {
  .vhg .vhg__heading h2 { font-size: clamp(24px, 7vw, 28px); }
  .vhg .vhg__heading--stage h2 { font-size: 21px; }
  .vhg .vhg__keys button[name=goal] { min-height: 44px; padding-inline: 13px; }
  .vhg .vhg__mode span { min-height: 40px; padding-inline: 14px; }
  .vhg .vhg__keys .vhg__submit { flex-basis: 100%; min-height: 48px; justify-content: space-between; }
  .vhg .vhg__after .vhg__submit { flex-basis: 100%; min-height: 48px; justify-content: space-between; }
  .vhg .vhg__stage { min-height: 64px; }
  .vhg .vhg__name { font-size: 17px; line-height: 21px; }
}
@media (max-width: 359px) {
  .vhg .vhg__heading { gap: 8px; }
  .vhg .vhg__keys button[name=goal] { font-size: 14px; padding-inline: 11px; }
  .vhg .vhg__name { font-size: 16px; }
}
/* Home right panel: quiet doctor link (inserted only in the owner preview). */
.check-panel>.check-doctor{font-size:14px;margin:14px 0 0}.check-doctor a{color:var(--home-brand);font-weight:500;text-decoration:none;border-bottom:1px solid #c28a3b;padding-bottom:1px}.check-doctor a:hover{border-bottom-color:currentColor}
/* Life-stage page: «Services» heading with spacing. */
.li-page .li-services{margin-top:48px;scroll-margin-top:24px}.li-page .li-services>h2{font-size:34px;line-height:1.2;font-weight:500;letter-spacing:-.01em;margin:0 0 20px;overflow-wrap:anywhere}@media(max-width:600px){.li-page .li-services>h2{font-size:29px;margin-bottom:16px}}
