/* Compact commercial landings: SinergIA Collect, FlowOps, IT Solutions. */
.nhx-compact-story {
  --nhx-compact-dark: #071713;
  --nhx-compact-dark-2: #0d2522;
  --nhx-compact-ink: #164548;
  --nhx-compact-muted: #5f6f73;
  --nhx-compact-green: #78c810;
  --nhx-compact-nano: #185858;
  --nhx-compact-line: rgba(22,69,72,.16);
  overflow: clip;
}
.nhx-compact-story *, .nhx-compact-story *::before, .nhx-compact-story *::after { box-sizing: border-box; }
.nhx-compact-scene {
  position: relative;
  padding: clamp(58px,6vw,92px) 0;
  border-top: 1px solid var(--nhx-compact-line);
}
.nhx-compact-scene::before {
  content: "";
  position: absolute;
  top: -1px;
  left: max(24px, calc((100vw - 1510px)/2));
  width: min(260px, 28vw);
  height: 2px;
  background: var(--nhx-compact-green);
  transform: scaleX(.18);
  transform-origin: left;
  transition: transform .6s ease;
}
.nhx-compact-scene.is-current::before { transform: scaleX(1); }
.nhx-compact-heading {
  width: min(50%, 760px);
  margin: 0 0 clamp(34px,4vw,58px);
}
.nhx-compact-heading h2 {
  margin: 8px 0 14px;
  color: var(--nhx-compact-ink);
  font-size: clamp(2.10rem,calc(4vw - 4px),4.45rem);
  line-height: .98;
  letter-spacing: -.045em;
}
.nhx-compact-heading .nhx-lead {
  max-width: 720px;
  margin: 0;
  color: var(--nhx-compact-muted);
  font-size: clamp(1rem,1.3vw,1.2rem);
  line-height: 1.55;
}
.nhx-compact-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #4c8708;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.nhx-compact-kicker::before { content: ""; width: 34px; height: 2px; background: var(--nhx-compact-green); }
.nhx-compact-frictions {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 0 42px;
  margin-top: 4px;
}
.nhx-compact-friction {
  position: relative;
  min-height: 164px;
  padding: 24px 10px 24px 54px;
  border-top: 1px solid var(--nhx-compact-line);
}
.nhx-compact-index {
  position: absolute;
  top: 26px;
  left: 0;
  color: #5da30b;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.nhx-compact-eyebrow { margin: 0 0 7px; color: #5da30b; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.nhx-compact-friction h3 { margin: 0 0 8px; color: var(--nhx-compact-ink); font-size: clamp(1.05rem,1.6vw,1.35rem); line-height: 1.18; }
.nhx-compact-friction p:last-child { margin: 0; color: var(--nhx-compact-muted); line-height: 1.5; }
.nhx-compact-fit-footer {
  display: grid;
  grid-template-columns: minmax(180px,.8fr) minmax(0,1.7fr) auto;
  gap: 22px;
  align-items: center;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--nhx-compact-line);
}
.nhx-compact-fit-footer strong { color: var(--nhx-compact-ink); font-size: .95rem; }
.nhx-compact-fit-footer span { color: var(--nhx-compact-muted); line-height: 1.45; }
.nhx-compact-fit-footer a { color: var(--nhx-compact-nano); font-weight: 800; text-decoration: none; white-space: nowrap; }
.nhx-compact-fit-footer a:hover, .nhx-compact-fit-footer a:focus-visible { text-decoration: underline; }

.nhx-compact-scene--core {
  background: linear-gradient(115deg,var(--nhx-compact-dark),var(--nhx-compact-dark-2));
  color: #fff;
  border-top-color: rgba(255,255,255,.08);
}
.nhx-compact-scene--core::before { background: #8dde27; }
.nhx-compact-heading--light h2 { color: #fff; }
.nhx-compact-heading--light .nhx-lead { color: rgba(255,255,255,.78); }
.nhx-compact-heading--light .nhx-compact-kicker { color: #9be84a; }
.nhx-compact-core-layout {
  display: grid;
  grid-template-columns: minmax(0,.82fr) minmax(0,1.35fr);
  gap: clamp(52px,6vw,96px);
  align-items: start;
}
.nhx-compact-core-layout.is-single { grid-template-columns: 1fr; }
.nhx-compact-core-layout.is-single .nhx-compact-path { grid-template-columns: repeat(3,minmax(0,1fr)); display: grid; gap: 0; }
.nhx-compact-path { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.nhx-compact-path li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.14); }
.nhx-compact-path li > span { color: #91dd39; font-size: .84rem; font-weight: 800; padding-top: 4px; }
.nhx-compact-path h3 { margin: 0 0 6px; color: #fff; font-size: 1.15rem; line-height: 1.2; }
.nhx-compact-path p { margin: 0; color: rgba(255,255,255,.76); line-height: 1.5; }
.nhx-compact-core-layout.is-single .nhx-compact-path li { padding: 22px 28px 12px 0; border-top: 1px solid rgba(255,255,255,.14); }
.nhx-compact-core-layout.is-single .nhx-compact-path li + li { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.12); }
.nhx-compact-signals {
  padding: clamp(24px,3vw,38px);
  border: 1px solid rgba(126,205,42,.30);
  border-radius: 24px;
  background: rgba(255,255,255,.045);
}
.nhx-compact-signals__head { display: grid; grid-template-columns: .8fr 1.4fr; gap: 24px; align-items: start; margin-bottom: 24px; }
.nhx-compact-signals__head h3 { margin: 0; color: #fff; font-size: clamp(1.3rem,2vw,1.8rem); }
.nhx-compact-signals__head p { margin: 0; color: rgba(255,255,255,.76); line-height: 1.5; }
.nhx-compact-signal-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 24px; }
.nhx-compact-signal { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); }
.nhx-compact-signal strong { color: #9be84a; font-size: .98rem; }
.nhx-compact-signal span { color: rgba(255,255,255,.76); line-height: 1.45; }
.nhx-compact-outcome-layout {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.25fr);
  gap: clamp(64px,7vw,116px);
  align-items: start;
}
.nhx-compact-outcome-layout .nhx-compact-heading { width: 100%; margin-bottom: 0; }
.nhx-compact-outcomes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 30px; }
.nhx-compact-outcomes article { position: relative; min-height: 142px; padding: 24px 4px 22px 48px; border-top: 1px solid var(--nhx-compact-line); }
.nhx-compact-outcomes article .nhx-compact-index { top: 26px; }
.nhx-compact-outcomes h3 { margin: 0 0 8px; color: var(--nhx-compact-ink); font-size: 1.08rem; line-height: 1.2; }
.nhx-compact-outcomes p { margin: 0; color: var(--nhx-compact-muted); line-height: 1.45; }
.nhx-compact-lower {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 34px;
  margin-top: clamp(36px,4vw,58px);
}
.nhx-compact-lower:has(.nhx-compact-trust:only-child) { grid-template-columns: 1fr; }
.nhx-compact-shift, .nhx-compact-trust {
  padding: 24px 28px;
  border: 1px solid var(--nhx-compact-line);
  border-radius: 22px;
  background: rgba(255,255,255,.62);
}
.nhx-compact-shift > h3, .nhx-compact-trust__head h3 { margin: 0 0 10px; color: var(--nhx-compact-ink); font-size: 1.18rem; }
.nhx-compact-shift > div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.nhx-compact-shift p { display: flex; flex-direction: column; gap: 5px; margin: 0; padding-top: 13px; border-top: 1px solid var(--nhx-compact-line); }
.nhx-compact-shift strong { color: var(--nhx-compact-ink); font-size: .94rem; }
.nhx-compact-shift span, .nhx-compact-trust__head p { color: var(--nhx-compact-muted); line-height: 1.45; }
.nhx-compact-trust__head { display: grid; grid-template-columns: .8fr 1.4fr; gap: 24px; align-items: start; }
.nhx-compact-trust__head p { margin: 0; }
.nhx-compact-chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.nhx-compact-chip-list span { padding: 7px 11px; border: 1px solid rgba(24,88,88,.20); border-radius: 999px; background: rgba(24,88,88,.04); color: var(--nhx-compact-ink); font-size: .78rem; font-weight: 700; }
.nhx-compact-details { margin-top: 16px; border-top: 1px solid var(--nhx-compact-line); }
.nhx-compact-details summary { padding: 15px 0 2px; color: var(--nhx-compact-nano); font-weight: 800; cursor: pointer; }
.nhx-compact-details__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; padding: 16px 0 4px; }
.nhx-compact-details__grid div { display: flex; flex-direction: column; gap: 6px; }
.nhx-compact-details__grid strong { color: var(--nhx-compact-ink); font-size: .92rem; }
.nhx-compact-details__grid span { color: var(--nhx-compact-muted); font-size: .9rem; line-height: 1.45; }

/* FAQ is a close, not another oversized chapter. */
.nhx-assisted-landing--bpo .nhx-landing-section--faq,
.nhx-assisted-landing--flowops .nhx-landing-section--faq,
.nhx-assisted-landing--it .nhx-landing-section--faq { padding-top: 54px !important; padding-bottom: 54px !important; }
@media (prefers-reduced-motion: no-preference) {
  html.nhx-compact-motion [data-nhx-compact-item] { opacity: 0; transform: translateY(10px); transition: opacity .42s ease, transform .42s ease; }
  html.nhx-compact-motion [data-nhx-compact-item].is-revealed { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nhx-compact-scene::before { transition: none; transform: scaleX(1); }
}
@media (max-width: 1000px) {
  .nhx-compact-heading { width: min(72%, 720px); }
  .nhx-compact-core-layout, .nhx-compact-outcome-layout { grid-template-columns: 1fr; gap: 40px; }
  .nhx-compact-outcome-layout .nhx-compact-heading { width: min(72%,720px); }
  .nhx-compact-lower { grid-template-columns: 1fr; }
  .nhx-compact-core-layout.is-single .nhx-compact-path { grid-template-columns: 1fr; }
  .nhx-compact-core-layout.is-single .nhx-compact-path li + li { padding-left: 0; border-left: 0; }
}
@media (max-width: 720px) {
  .nhx-compact-scene { padding: 46px 0; }
  .nhx-compact-heading, .nhx-compact-outcome-layout .nhx-compact-heading { width: 100%; margin-bottom: 30px; }
  .nhx-compact-heading h2 { font-size: clamp(1.75rem,calc(10vw - 4px),2.75rem); }
  .nhx-compact-frictions, .nhx-compact-outcomes, .nhx-compact-signal-grid { grid-template-columns: 1fr; }
  .nhx-compact-friction { min-height: 0; padding: 20px 0 20px 44px; }
  .nhx-compact-fit-footer { grid-template-columns: 1fr; gap: 8px; }
  .nhx-compact-fit-footer a { margin-top: 8px; }
  .nhx-compact-signals__head, .nhx-compact-trust__head { grid-template-columns: 1fr; gap: 8px; }
  .nhx-compact-shift, .nhx-compact-trust, .nhx-compact-signals { padding: 20px; border-radius: 18px; }
  .nhx-compact-shift > div, .nhx-compact-details__grid { grid-template-columns: 1fr; }
  .nhx-compact-outcomes article { min-height: 0; padding: 20px 0 20px 44px; }
  .nhx-compact-core-layout { gap: 30px; }
  .nhx-compact-path li { grid-template-columns: 38px 1fr; }
}
/* Guided contact: collapsed by default so conversion does not inflate the page. */
.nhx-guided-contact { padding: 58px 0 72px; background: rgba(238,244,242,.72); }
.nhx-guided-contact__details {
  border: 1px solid rgba(120,200,16,.24);
  border-radius: 26px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 18px 48px rgba(19,55,52,.07);
  overflow: hidden;
}
.nhx-guided-contact__details > summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 132px;
  padding: 28px 38px;
  cursor: pointer;
  list-style: none;
}
.nhx-guided-contact__details > summary::-webkit-details-marker { display:none; }
.nhx-guided-contact__details > summary span { display:flex; flex-direction:column; gap:5px; }
.nhx-guided-contact__details > summary small { color:#5da30b; font-size:.72rem; font-weight:800; letter-spacing:.08em; }
.nhx-guided-contact__details > summary strong { color:var(--nhx-compact-ink); font-size:clamp(1.6rem,2.7vw,2.45rem); line-height:1.04; }
.nhx-guided-contact__details > summary em { color:var(--nhx-compact-nano); font-style:normal; font-weight:800; }
.nhx-guided-contact__body { padding: 0 38px 38px; border-top:1px solid rgba(24,88,88,.10); }
.nhx-guided-contact__intro { max-width: 760px; padding: 30px 0 24px; }
.nhx-guided-contact__intro h2 { margin:8px 0 10px; color:var(--nhx-compact-ink); font-size:clamp(2rem,3.7vw,3.7rem); line-height:1; letter-spacing:-.04em; }
.nhx-guided-contact__intro > p:last-child { margin:0; color:var(--nhx-compact-muted); line-height:1.5; }
.nhx-guided-form { max-width: 1180px; margin:0 auto; }
.nhx-guided-progress { display:flex; align-items:center; gap:14px; margin:2px 0 24px; color:var(--nhx-compact-muted); font-size:.8rem; font-weight:700; }
.nhx-guided-progress i { flex:1; height:3px; overflow:hidden; background:rgba(24,88,88,.10); border-radius:999px; }
.nhx-guided-progress b { display:block; width:50%; height:100%; background:var(--nhx-compact-green); transition:width .25s ease; }
.nhx-guided-step { margin:0; padding:26px 28px 28px; border:1px solid rgba(24,88,88,.14); border-radius:22px; background:rgba(255,255,255,.82); }
.nhx-guided-step[hidden] { display:none !important; }
.nhx-guided-step legend { padding:0 8px; color:var(--nhx-compact-ink); font-size:clamp(1.35rem,2vw,1.75rem); font-weight:800; }
.nhx-guided-step legend span { color:#5da30b; font-size:.78rem; margin-right:8px; }
.nhx-guided-step__lead { max-width:760px; margin:0 0 22px; color:var(--nhx-compact-muted); line-height:1.5; }
.nhx-guided-choice-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-bottom:22px; }
.nhx-guided-choice { position:relative; }
.nhx-guided-choice input { position:absolute; width:1px; height:1px; opacity:0; }
.nhx-guided-choice span { display:flex; align-items:center; min-height:52px; padding:12px 14px; border:1px solid rgba(24,88,88,.17); border-radius:14px; background:#fff; color:var(--nhx-compact-ink); font-weight:700; cursor:pointer; transition:border-color .16s ease,background-color .16s ease; }
.nhx-guided-choice input:checked + span { border-color:rgba(120,200,16,.72); background:rgba(120,200,16,.10); }
.nhx-guided-choice input:focus-visible + span { outline:3px solid rgba(24,88,88,.22); outline-offset:2px; }
.nhx-guided-context { margin-top:4px; }
.nhx-guided-form .nhx-field { gap:6px; }
.nhx-guided-form .nhx-field label, .nhx-guided-field-label { color:#26383a; font-weight:700; }
.nhx-guided-form .nhx-field input:not([type="radio"]):not([type="checkbox"]),
.nhx-guided-form .nhx-field select,
.nhx-guided-form .nhx-field textarea {
  width:100%;
  min-height:50px;
  padding:11px 14px;
  border:1px solid rgba(24,88,88,.20);
  border-radius:13px;
  background:#fff;
  color:#17282a;
  font:inherit;
  box-shadow:none;
}
.nhx-guided-form .nhx-field textarea { min-height:104px; resize:vertical; }
.nhx-guided-form .nhx-field small { color:var(--nhx-compact-muted); font-size:.78rem; }
.nhx-guided-contact-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 18px; }
.nhx-guided-mode-field { margin-top:18px; }
.nhx-guided-mode { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:8px; }
.nhx-guided-mode label { position:relative; }
.nhx-guided-mode input { position:absolute; width:1px; height:1px; opacity:0; }
.nhx-guided-mode span { display:flex; align-items:center; justify-content:center; min-height:50px; border:1px solid rgba(24,88,88,.17); border-radius:14px; background:#fff; color:var(--nhx-compact-ink); font-weight:800; cursor:pointer; }
.nhx-guided-mode input:checked + span { border-color:rgba(120,200,16,.72); background:rgba(120,200,16,.10); }
.nhx-guided-mode input:focus-visible + span { outline:3px solid rgba(24,88,88,.22); outline-offset:2px; }
.nhx-guided-conditional { margin-top:16px; }
.nhx-guided-meeting-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 18px; }
.nhx-guided-conditional[hidden] { display:none !important; }
.nhx-guided-form .nhx-phone-field { display:grid; grid-template-columns:132px 1fr; gap:8px; }
.nhx-guided-legal { margin-top:22px; padding-top:18px; border-top:1px solid rgba(24,88,88,.12); }
.nhx-guided-legal label { display:flex; gap:10px; align-items:flex-start; color:#26383a; line-height:1.45; }
.nhx-guided-legal input { margin-top:4px; }
.nhx-guided-legal p { margin:8px 0 0 28px; color:var(--nhx-compact-muted); font-size:.82rem; }
.nhx-guided-legal a { color:var(--nhx-compact-nano); }
.nhx-guided-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:22px; }
.nhx-guided-form.is-enhanced [data-nhx-guided-next] { display:inline-flex; }
[data-nhx-guided-next], [data-nhx-guided-back] { display:none; }
.nhx-guided-form.is-enhanced [data-nhx-guided-next], .nhx-guided-form.is-enhanced [data-nhx-guided-back] { display:inline-flex; }
@media (max-width: 760px) {
  .nhx-guided-contact { padding:42px 0 54px; }
  .nhx-guided-contact__details > summary { grid-template-columns:1fr; gap:8px; min-height:112px; padding:24px; }
  .nhx-guided-contact__body { padding:0 18px 22px; }
  .nhx-guided-contact__intro { padding:24px 4px 20px; }
  .nhx-guided-step { padding:22px 16px 20px; border-radius:18px; }
  .nhx-guided-choice-grid { grid-template-columns:1fr; }
  .nhx-guided-contact-grid, .nhx-guided-meeting-grid { grid-template-columns:1fr; }
  .nhx-guided-mode { grid-template-columns:1fr; }
  .nhx-guided-form .nhx-phone-field { grid-template-columns:108px 1fr; }
  .nhx-guided-actions { justify-content:stretch; }
  .nhx-guided-actions .nhx-button { flex:1; justify-content:center; }
}

/* Owner override: compact story must outrank legacy assisted-landing section skin. */
.nhx-assisted-landing .nhx-landing-body-v3 .nhx-compact-story > .nhx-compact-scene {
  padding: clamp(58px,6vw,92px) 0 !important;
}
.nhx-assisted-landing .nhx-landing-body-v3 .nhx-compact-story > .nhx-compact-scene--core {
  background-color: var(--nhx-compact-dark) !important;
  background-image: linear-gradient(115deg,var(--nhx-compact-dark),var(--nhx-compact-dark-2)) !important;
  background-size: auto !important;
  color: #fff;
}

/* Same FAQ grammar accepted for Sprint 5: one green accent only. */
.nhx-assisted-landing--bpo .nhx-landing-section--faq .nhx-dark-title::before,
.nhx-assisted-landing--flowops .nhx-landing-section--faq .nhx-dark-title::before,
.nhx-assisted-landing--it .nhx-landing-section--faq .nhx-dark-title::before { content:none !important; }
.nhx-assisted-landing--bpo .nhx-landing-section--faq .nhx-dark-title,
.nhx-assisted-landing--flowops .nhx-landing-section--faq .nhx-dark-title,
.nhx-assisted-landing--it .nhx-landing-section--faq .nhx-dark-title { padding-top:0 !important; }

/* Keep the contact entry compact while preserving the full progressive form on demand. */
.nhx-guided-contact { padding: 42px 0 50px; }
.nhx-guided-contact__details > summary { min-height: 112px; padding: 24px 32px; }
@media (prefers-reduced-motion: no-preference) {
  html.nhx-compact-motion [data-nhx-compact-item] { transform: translateY(6px); transition-duration:.34s; }
}
@media (max-width:760px) {
  .nhx-guided-contact { padding:34px 0 40px; }
  .nhx-guided-contact__details > summary { min-height:96px; padding:20px; }
}


/* Guided contact refinement v2: balanced form geometry; shared by BPO, FlowOps and IT only. */
.nhx-guided-form {
  max-width: 1040px;
}
.nhx-guided-step {
  padding: 24px 26px 26px;
}
.nhx-guided-contact-grid {
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 14px 16px;
  align-items: start;
}
.nhx-guided-contact-grid > .nhx-field:nth-child(1),
.nhx-guided-contact-grid > .nhx-field:nth-child(2),
.nhx-guided-contact-grid > .nhx-field:nth-child(3) { grid-column: span 2; }
.nhx-guided-contact-grid > .nhx-field:nth-child(4),
.nhx-guided-contact-grid > .nhx-field:nth-child(5) { grid-column: span 3; }
.nhx-guided-form .nhx-field input:not([type="radio"]):not([type="checkbox"]),
.nhx-guided-form .nhx-field select {
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 14px !important;
  border-radius: 12px !important;
}
.nhx-guided-form .nhx-field textarea {
  min-height: 96px !important;
  padding: 12px 14px !important;
  border-radius: 12px !important;
}
.nhx-guided-choice span {
  min-height: 48px;
  padding: 10px 13px;
  border-radius: 12px;
}
.nhx-guided-mode span {
  min-height: 46px;
  border-radius: 12px;
}
.nhx-guided-mode-field { margin-top: 16px; }
.nhx-guided-legal { margin-top: 18px; padding-top: 16px; }
.nhx-guided-actions { margin-top: 18px; }
@media (max-width: 900px) {
  .nhx-guided-form { max-width: 760px; }
  .nhx-guided-contact-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nhx-guided-contact-grid > .nhx-field:nth-child(n) { grid-column: auto; }
  .nhx-guided-contact-grid > .nhx-field:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 650px) {
  .nhx-guided-contact-grid { grid-template-columns: 1fr; }
  .nhx-guided-contact-grid > .nhx-field:nth-child(n) { grid-column: 1; }
  .nhx-guided-step { padding: 20px 16px 20px; }
}


/* Guided form visibility owner: progressive steps must not inherit legacy reveal opacity. */
.nhx-guided-form .nhx-reveal {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Shared guided form geometry owner: prevent control overflow and restore true gutters. */
.nhx-guided-form,
.nhx-guided-form *,
.nhx-guided-form *::before,
.nhx-guided-form *::after { box-sizing: border-box; }
.nhx-guided-form { width: 100%; max-width: 1040px; }
.nhx-guided-step { width: 100%; min-width: 0; }
.nhx-guided-step legend {
  max-width: calc(100% - 28px);
  padding: 0 10px;
  background: rgba(255,255,255,.96);
  line-height: 1.16;
}
.nhx-guided-step__lead { margin-top: 8px; }
.nhx-guided-contact-grid > .nhx-field,
.nhx-guided-meeting-grid > .nhx-field { min-width: 0; }
.nhx-guided-form .nhx-field input:not([type="radio"]):not([type="checkbox"]),
.nhx-guided-form .nhx-field select,
.nhx-guided-form .nhx-field textarea { box-sizing: border-box !important; max-width: 100%; }
.nhx-guided-mode { width: 100%; }
.nhx-guided-legal,
.nhx-guided-actions { width: 100%; }
@media (max-width:650px) {
  .nhx-guided-step legend { max-width: calc(100% - 16px); padding: 0 6px; }
}

/* Anchor clearance: guided contact must land below the sticky site header without modifying it. */
#agenda-form { scroll-margin-top: 118px; }
body.admin-bar #agenda-form { scroll-margin-top: 154px; }
@media (max-width:782px) {
  #agenda-form { scroll-margin-top: 94px; }
  body.admin-bar #agenda-form { scroll-margin-top: 142px; }
}
.nhx-guided-contact__details { scroll-margin-top: 118px; }
body.admin-bar .nhx-guided-contact__details { scroll-margin-top: 154px; }
@media (max-width:782px) {
  .nhx-guided-contact__details { scroll-margin-top: 94px; }
  body.admin-bar .nhx-guided-contact__details { scroll-margin-top: 142px; }
}

/* Guided-step scroll owner: browser scroll anchoring must not fight explicit step positioning. */
.nhx-guided-form,
.nhx-guided-step {
  overflow-anchor: none;
}

/* Programmatic step focus is for navigation/accessibility, not a visible control state. */
.nhx-guided-step legend:focus { outline: none; }
