#healix-preview {
  --hx-bg: light-dark(#ffffff, #171c20);
  --hx-fg: light-dark(#171d21, #f1f1ed);
  --hx-muted: light-dark(#626d73, #adb7bc);
  --hx-line: light-dark(#dce0df, #394248);
  --hx-gold: light-dark(#9a8353, #c5b184);
  --hx-soft: light-dark(#f5f4ef, #242c30);
  --hx-button: light-dark(#283b46, #d9e1e5);
  --hx-button-text: light-dark(#ffffff, #18242b);
  color: var(--hx-fg);
  background: var(--hx-bg);
  font-family: Arial, Helvetica, sans-serif;
  padding: 26px 34px;
  box-sizing: border-box;
  --hx-space: 24px;
}
#healix-preview * {
  box-sizing: border-box;
}
#healix-preview [hidden] {
  display: none !important;
}
#healix-preview .hx-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--hx-line);
  padding-right: 70px;
  gap: 14px;
}
#healix-preview .hx-brand {
  display: block;
  letter-spacing: 0.23em;
  font-size: 20px;
}
#healix-preview .hx-micro {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
}
#healix-preview .hx-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--hx-gold);
  font-weight: 700;
}
#healix-preview .hx-intro {
  padding: 34px 0 28px;
  max-width: 650px;
}
#healix-preview h1 {
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.045em;
  margin: 16px 0;
}
#healix-preview h1 em {
  font-style: normal;
  color: var(--hx-gold);
}
#healix-preview p {
  font-size: 14px;
  line-height: 1.6;
}
#healix-preview .hx-intro p {
  color: var(--hx-muted);
  max-width: 540px;
}
#healix-preview .hx-steps {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--hx-line);
  gap: 8px;
}
#healix-preview button,
#healix-preview input,
#healix-preview select {
  font: inherit;
}
#healix-preview button,
#healix-preview summary,
#healix-preview a {
  cursor: pointer;
}
#healix-preview .hx-steps button {
  flex: 1;
  min-width: 115px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--hx-muted);
  padding: 16px 6px;
  text-align: left;
  font-size: 12px;
}
#healix-preview .hx-steps button[aria-current="step"] {
  border-bottom-color: var(--hx-gold);
  color: var(--hx-fg);
}
#healix-preview .hx-steps span {
  margin-left: 5px;
}
#healix-preview .hx-main {
  max-width: 650px;
  margin: 30px auto 0;
}
#healix-preview h2 {
  font-size: 30px;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 12px 0;
}
#healix-preview h3 {
  font-size: 17px;
  margin: 24px 0 14px;
}
#healix-preview .hx-muted,
#healix-preview small {
  color: var(--hx-muted);
}
#healix-preview .hx-small,
#healix-preview small {
  font-size: 12px;
  line-height: 1.5;
}
#healix-preview small {
  display: block;
  font-weight: 400;
}
#healix-preview .hx-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  margin-top: var(--hx-space);
  min-width: 0;
}
#healix-preview input:not([type="checkbox"]):not([type="radio"]),
#healix-preview select {
  width: 100%;
  min-width: 0;
  padding: 13px 12px;
  background: var(--hx-bg);
  color: var(--hx-fg);
  border: 1px solid var(--hx-line);
  border-radius: 3px;
  font-size: 16px;
  font-weight: 400;
}
#healix-preview input:disabled {
  opacity: 0.45;
}
#healix-preview .hx-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
#healix-preview fieldset {
  border: 0;
  padding: 0;
  margin: var(--hx-space) 0 0;
}
#healix-preview legend {
  font-size: 14px;
  font-weight: 600;
}
#healix-preview .hx-choices {
  display: flex;
  gap: 22px;
  margin-top: 12px;
}
#healix-preview .hx-choices label,
#healix-preview .hx-check {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}
#healix-preview .hx-money {
  display: flex;
  gap: 10px;
}
#healix-preview .hx-money select {
  width: 95px;
}
#healix-preview details {
  margin-top: 26px;
  border-top: 1px solid var(--hx-line);
  border-bottom: 1px solid var(--hx-line);
  padding: 17px 0;
}
#healix-preview summary {
  font-size: 14px;
  font-weight: 600;
}
#healix-preview summary span {
  font-size: 12px;
  font-weight: 400;
  margin-left: 8px;
}
#healix-preview .hx-detail {
  margin-bottom: 18px;
}
#healix-preview .hx-check {
  margin-top: 22px;
}
#healix-preview .hx-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  gap: 12px;
}
#healix-preview .hx-actions button {
  padding: 13px 20px;
  border: 1px solid var(--hx-line);
  border-radius: 3px;
  background: var(--hx-bg);
  color: var(--hx-fg);
  font-size: 14px;
}
#healix-preview .hx-primary,
#healix-preview .hx-actions .hx-primary {
  background: var(--hx-button);
  color: var(--hx-button-text);
  padding: 14px 22px;
  border: 0;
  border-radius: 3px;
  text-decoration: none;
  font-size: 14px;
  text-align: center;
}
#healix-preview .hx-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid var(--hx-line);
  margin-top: 34px;
  padding-top: 20px;
  font-size: 10px;
  letter-spacing: 0.07em;
  color: var(--hx-muted);
}
#healix-preview .hx-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  background: var(--hx-soft);
  padding: 24px 20px;
  margin: 26px 0;
}
#healix-preview .hx-stats span {
  display: block;
  font-size: 12px;
  color: var(--hx-muted);
  min-height: 32px;
}
#healix-preview .hx-stats strong {
  display: block;
  font-size: 28px;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
#healix-preview .hx-totals {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  font-size: 13px;
  color: var(--hx-muted);
}
#healix-preview .hx-totals strong {
  color: var(--hx-fg);
}
#healix-preview .hx-secondary {
  margin-top: 24px;
  gap: 18px;
}
#healix-preview .hx-secondary span {
  display: block;
  font-size: 12px;
}
#healix-preview .hx-secondary strong {
  display: block;
  font-size: 19px;
  margin-top: 5px;
}
#healix-preview .hx-compare-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hx-line);
  font-size: 13px;
}
#healix-preview .hx-compare-row span:last-child {
  text-align: right;
}
#healix-preview .hx-optional {
  font-size: 12px;
  font-weight: 400;
  color: var(--hx-muted);
}
#healix-preview .hx-cta {
  margin-top: 36px;
  padding: 30px;
  border-left: 4px solid #2f5b52;
  background: #f2f5f2;
}
#healix-preview .hx-cta h3 {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
#healix-preview .hx-cta p {
  font-size: 16px;
  line-height: 1.65;
  color: #394841;
  margin: 0 0 22px;
}
#healix-preview .hx-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 0;
  padding: 19px 24px;
  background: #2f5b52;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 0;
}
#healix-preview .hx-cta a:hover {
  background: #2c4841;
}
#healix-preview .hx-cta-arrow {
  color: #b19660;
  font-size: 26px;
  font-weight: 400;
}
@media (max-width: 500px) {
  #healix-preview .hx-cta {
    padding: 24px 18px;
  }
  #healix-preview .hx-cta h3 {
    font-size: 25px;
  }
  #healix-preview .hx-cta a {
    width: 100%;
    padding: 17px 14px;
    gap: 12px;
  }
}
#healix-preview #hx-error {
  color: light-dark(#a4342b, #ffb4aa);
}
@media (max-width: 500px) {
  #healix-preview {
    padding: 20px 16px;
  }
  #healix-preview .hx-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  #healix-preview .hx-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  #healix-preview .hx-stats span {
    min-height: 0;
    margin-bottom: 6px;
  }
  #healix-preview .hx-header {
    padding-right: 65px;
  }
  #healix-preview .hx-header > .hx-micro {
    display: none;
  }
  #healix-preview .hx-steps button {
    min-width: 100px;
  }
  #healix-preview .hx-secondary {
    gap: 18px;
  }
}

html,
body {
  margin: 0;
  background: #fff;
  color: #171d21;
  font-family: Arial, Helvetica, sans-serif;
}
#healix-preview {
  max-width: 1000px;
  margin: auto;
  color-scheme: light;
}
#healix-preview button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
#healix-preview :focus-visible {
  outline: 3px solid #9a8353;
  outline-offset: 3px;
}
#healix-preview input[aria-invalid="true"],
#healix-preview select[aria-invalid="true"] {
  border-color: #a4342b;
}
#healix-preview .hx-field-error {
  font-size: 12px;
  color: #a4342b;
  margin-top: 3px;
}
#healix-preview .hx-breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
#healix-preview .hx-header {
  padding-right: 0;
}
html.healix-embed body {
  background: #fff;
}
html.healix-embed #healix-preview .hx-header,
html.healix-embed #healix-preview .hx-intro,
html.healix-embed #healix-preview .hx-footer {
  display: none;
}
html.healix-embed #healix-preview {
  padding: 24px;
}
html.healix-embed .hx-main {
  margin-top: 24px;
}
@media (max-width: 500px) {
  html.healix-embed #healix-preview {
    padding: 18px 14px;
  }
  #healix-preview .hx-steps button {
    min-height: 44px;
  }
  #healix-preview .hx-actions button {
    min-height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

#healix-preview .hx-compare-row {
  display: grid;
  grid-template-columns: minmax(115px, 1.05fr) minmax(130px, 1fr) minmax(
      125px,
      1fr
    );
  align-items: center;
  gap: 16px;
}
#healix-preview .hx-compare-values {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: right;
}
#healix-preview .hx-compare-status {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: right;
  font-size: 12px;
}
#healix-preview .hx-compare-row .hx-own {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
#healix-preview .hx-compare-row .hx-ref {
  font-size: 12px;
  color: var(--hx-muted);
}
#healix-preview .hx-tone-amber .hx-own,
#healix-preview .hx-tone-amber .hx-compare-status strong {
  color: #946115;
}
#healix-preview .hx-tone-green .hx-own,
#healix-preview .hx-tone-green .hx-compare-status strong {
  color: #2f5b52;
}
#healix-preview .hx-tone-neutral .hx-own,
#healix-preview .hx-tone-neutral .hx-compare-status strong {
  color: var(--hx-fg);
}
#healix-preview .hx-comparison-summary {
  padding: 18px 0;
  border-top: 1px solid var(--hx-line);
  font-size: 14px;
}
#healix-preview .hx-reference-perspective {
  font-size: 14px;
  color: var(--hx-muted);
  margin-top: 26px;
}
#healix-preview .hx-reference-perspective strong {
  color: var(--hx-fg);
}
@media (max-width: 600px) {
  #healix-preview .hx-compare-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
  }
  #healix-preview .hx-compare-row > span:first-child {
    grid-column: 1/-1;
    font-weight: 600;
  }
  #healix-preview .hx-compare-values {
    text-align: left;
  }
  #healix-preview .hx-compare-row .hx-compare-values .hx-ref {
    text-align: left;
  }
}
