/*
 * NEXPOS Workflow UI Core — BusinessCheck Parity
 * ContractDesk v3.6.14
 */
:root{
  --nx-primary:#152a62;
  --nx-dark:#07142f;
  --nx-muted:#687083;
  --nx-surface:#ffffff;
  --nx-background:#f5f7fb;
  --nx-border:rgba(21,42,98,.14);
  --nx-danger:#d92d20;
  --nx-success:#16845b;
  --nx-header-height:82px;
  --nx-adminbar-height:0px;
  --nx-content-max:1180px;
}

body.admin-bar.nexpos-cd-app-active{--nx-adminbar-height:32px}
@media(max-width:782px){
  body.admin-bar.nexpos-cd-app-active{--nx-adminbar-height:46px}
}

html:has(.nexpos-cd-v3614),
body.nexpos-cd-app-active{
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:var(--nx-background)!important;
}

body.nexpos-cd-app-active .aux-header,
body.nexpos-cd-app-active .aux-header-elements-wrapper,
body.nexpos-cd-app-active .elementor-location-header,
body.nexpos-cd-app-active #masthead,
body.nexpos-cd-app-active .site-header,
body.nexpos-cd-app-active .elementor-location-footer,
body.nexpos-cd-app-active .aux-site-footer,
body.nexpos-cd-app-active footer.site-footer{
  display:none!important;
}

.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614.nxwf-app{
  position:fixed!important;
  inset:var(--nx-adminbar-height) 0 0 0!important;
  z-index:99990!important;
  display:block!important;
  width:auto!important;
  max-width:none!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:var(--nx-background)!important;
  color:var(--nx-dark)!important;
  isolation:isolate!important;
  contain:layout paint style!important;
  font-family:Arial,"Helvetica Neue",Helvetica,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}

.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614.nxwf-app *,
.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614.nxwf-app *::before,
.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614.nxwf-app *::after{
  box-sizing:border-box!important;
}

.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .ymd-vp-shell.nxwf-shell{
  position:absolute!important;
  top:var(--nx-header-height)!important;
  right:0!important;
  bottom:0!important;
  left:0!important;
  width:auto!important;
  max-width:none!important;
  min-height:0!important;
  margin:0!important;
  padding:12px 20px 24px!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;
  scrollbar-gutter:stable!important;
  background:var(--nx-background)!important;
}

.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .ymd-vp-form.nxwf-form{
  width:100%!important;
  max-width:var(--nx-content-max)!important;
  min-height:0!important;
  margin:0 auto!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .nexpos-owned-header.nxwf-header{
  position:fixed!important;
  top:var(--nx-adminbar-height)!important;
  left:0!important;
  right:0!important;
  z-index:100000!important;
  width:100%!important;
  height:var(--nx-header-height)!important;
  margin:0!important;
  padding:0!important;
  background:var(--nexpos-header-bg,#fff)!important;
  color:var(--nexpos-header-fg,#111318)!important;
  border:0!important;
  border-bottom:1px solid var(--nexpos-header-border,rgba(21,42,98,.11))!important;
  box-shadow:0 8px 24px rgba(7,20,47,.055)!important;
  transform:none!important;
  transition:none!important;
  overflow:hidden!important;
}

.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .nxwf-header__inner{
  width:min(var(--nx-content-max),calc(100% - 40px))!important;
  background:var(--nexpos-header-bg,#fff)!important;
  color:var(--nexpos-header-fg,#111318)!important;
  height:100%!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-rows:50px 32px!important;
}

.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .nxwf-header__logo{
  display:flex!important;
  background:var(--nexpos-header-bg,#fff)!important;
  color:var(--nexpos-header-fg,#111318)!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:max-content!important;
  height:50px!important;
  margin:0!important;
  padding:0!important;
  text-decoration:none!important;
}

.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .nxwf-header__logo img{
  display:block!important;
  width:var(--cd-logo-width,126px)!important;
  min-width:var(--cd-logo-width,126px)!important;
  max-width:var(--cd-logo-width,126px)!important;
  height:var(--cd-logo-height,32px)!important;
  min-height:var(--cd-logo-height,32px)!important;
  max-height:var(--cd-logo-height,32px)!important;
  margin:0!important;
  padding:0!important;
  object-fit:contain!important;
  object-position:left center!important;
  image-rendering:auto!important;
  transform:none!important;
}

.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .nxwf-progress{
  display:flex!important;
  background:var(--nexpos-header-bg,#fff)!important;
  color:var(--nexpos-header-fg,#111318)!important;
  align-items:center!important;
  gap:12px!important;
  width:100%!important;
  height:32px!important;
  margin:0!important;
  padding:0!important;
}

.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .nxwf-progress__track{
  flex:1 1 auto!important;
  min-width:0!important;
  height:4px!important;
  overflow:hidden!important;
  border-radius:999px!important;
  background:var(--nexpos-header-track,rgba(21,42,98,.10))!important;
}

.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .nxwf-progress__track > span{
  display:block!important;
  min-width:18px!important;
  height:100%!important;
  border-radius:inherit!important;
  background:var(--nexpos-header-progress,var(--nx-primary))!important;
  transition:width .22s ease!important;
}

.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .nxwf-status{
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:22px!important;
  padding:4px 9px!important;
  border:1px solid var(--nexpos-header-pill-border,#efd28d)!important;
  border-radius:999px!important;
  background:var(--nexpos-header-pill-bg,#fff7df)!important;
  color:var(--nexpos-header-pill-text,#915400)!important;
  font-size:9px!important;
  font-weight:800!important;
  line-height:1!important;
  white-space:nowrap!important;
}

.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .nexpos-app-card-body.nxwf-stage{
  display:block!important;
  width:100%!important;
  min-height:calc(100vh - var(--nx-header-height) - 48px)!important;
  margin:0!important;
  padding:30px clamp(28px,4vw,54px) 124px!important;
  background:linear-gradient(180deg,#fff 0%,#fbfcff 100%)!important;
  border:1px solid var(--nx-border)!important;
  border-radius:20px!important;
  box-shadow:0 22px 58px rgba(7,20,47,.085)!important;
  overflow:visible!important;
}

/* Exact BusinessCheck actionbar structure. */
body > .nexpos-cd-docked-nav-bg.nxwf-actionbar-bg{
  position:fixed!important;
  inset:auto 0 0 0!important;
  z-index:100010!important;
  height:96px!important;
  background:linear-gradient(180deg,rgba(245,247,251,0),rgba(245,247,251,.94) 28%,var(--nx-background) 100%)!important;
  pointer-events:none!important;
}

body > .nexpos-cd-docked-nav.nxwf-actionbar{
  position:fixed!important;
  left:50%!important;
  right:auto!important;
  top:auto!important;
  bottom:12px!important;
  z-index:100020!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  width:min(var(--nx-content-max),calc(100% - 40px))!important;
  max-width:var(--nx-content-max)!important;
  min-height:72px!important;
  margin:0!important;
  padding:10px 12px!important;
  border:1px solid rgba(21,42,98,.10)!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:0 14px 36px rgba(7,20,47,.14)!important;
  backdrop-filter:blur(14px)!important;
  transform:translateX(-50%)!important;
  pointer-events:auto!important;
  isolation:isolate!important;
  overflow:visible!important;
}

body > .nexpos-cd-docked-nav.nxwf-actionbar .nxwf-button{
  flex:0 0 auto!important;
  width:auto!important;
  min-width:108px!important;
  max-width:none!important;
  min-height:50px!important;
  height:50px!important;
  margin:0!important;
  padding:0 24px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  font-size:16px!important;
  font-weight:800!important;
  line-height:1!important;
  cursor:pointer!important;
  touch-action:manipulation!important;
  pointer-events:auto!important;
}

body > .nexpos-cd-docked-nav.nxwf-actionbar .nxwf-button--secondary{
  border:1px solid var(--nx-border)!important;
  background:#fff!important;
  color:var(--nx-dark)!important;
  box-shadow:none!important;
}

body > .nexpos-cd-docked-nav.nxwf-actionbar .nxwf-button--primary,
body > .nexpos-cd-docked-nav.nxwf-actionbar .nexpos-submit-proxy{
  border:1px solid var(--nx-primary)!important;
  background:var(--nx-primary)!important;
  color:#fff!important;
  box-shadow:none!important;
}

body > .nexpos-cd-docked-nav.nxwf-actionbar [hidden]{
  display:none!important;
}

@media(max-width:760px){
  :root{--nx-header-height:74px}

  .ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .nxwf-header__inner{
    width:calc(100% - 28px)!important;
    grid-template-rows:44px 30px!important;
  }

  .ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .nxwf-header__logo{
    height:44px!important;
  }

  .ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614{
    --cd-logo-width:112px;
    --cd-logo-height:28px;
  }

  .ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .nxwf-progress{
    height:30px!important;
    gap:9px!important;
  }

  .ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .nxwf-status{
    max-width:52vw!important;
    padding:4px 7px!important;
    font-size:8.5px!important;
  }

  .ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .ymd-vp-shell.nxwf-shell{
    top:var(--nx-header-height)!important;
    padding:0!important;
    background:#fff!important;
    scrollbar-gutter:auto!important;
  }

  .ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .ymd-vp-form.nxwf-form{
    max-width:none!important;
    margin:0!important;
  }

  .ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .nexpos-app-card-body.nxwf-stage{
    width:100%!important;
    min-height:0!important;
    margin:0!important;
    padding:20px max(17px,env(safe-area-inset-right)) calc(104px + env(safe-area-inset-bottom)) max(17px,env(safe-area-inset-left))!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:#fff!important;
  }

  body > .nexpos-cd-docked-nav-bg.nxwf-actionbar-bg{
    height:calc(82px + env(safe-area-inset-bottom))!important;
    background:rgba(255,255,255,.98)!important;
    border-top:1px solid rgba(21,42,98,.10)!important;
  }

  body > .nexpos-cd-docked-nav.nxwf-actionbar{
    left:0!important;
    right:0!important;
    bottom:0!important;
    width:100%!important;
    max-width:none!important;
    min-height:72px!important;
    padding:10px max(14px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))!important;
    border-width:1px 0 0!important;
    border-radius:0!important;
    box-shadow:0 -8px 28px rgba(7,20,47,.10)!important;
    transform:none!important;
  }

  body > .nexpos-cd-docked-nav.nxwf-actionbar .nxwf-button{
    width:auto!important;
    min-width:108px!important;
    min-height:48px!important;
    height:48px!important;
    padding:0 18px!important;
    font-size:15px!important;
  }
}

@media(max-width:380px){
  .ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .nxwf-header__inner{
    width:calc(100% - 22px)!important;
  }

  body > .nexpos-cd-docked-nav.nxwf-actionbar .nxwf-button{
    min-width:96px!important;
    padding:0 15px!important;
  }
}

@media(prefers-reduced-motion:reduce){
  .ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 *,
  .ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 *::before,
  .ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 *::after{
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
}


/* ================================================================
   RC33 — visible template header color + centered desktop choice
   ================================================================ */
.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .nexpos-owned-header.nxwf-header,
.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .nexpos-owned-header.nxwf-header .nxwf-header__inner,
.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .nexpos-owned-header.nxwf-header .nxwf-header__logo,
.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .nexpos-owned-header.nxwf-header .nxwf-progress{
  background-color:var(--nexpos-header-bg,#fff)!important;
  color:var(--nexpos-header-fg,#111318)!important;
}

.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .nexpos-owned-header.nxwf-header{
  border-bottom-color:var(--nexpos-header-border,rgba(21,42,98,.11))!important;
}

.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .nexpos-screen-choice .nexpos-app-grid,
.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .nexpos-screen-choice .ymd-vp-fields{
  width:100%!important;
  max-width:none!important;
  grid-template-columns:minmax(0,1fr)!important;
  justify-items:center!important;
  align-items:start!important;
}

.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .nexpos-screen-choice .nexpos-native-choice{
  grid-column:1 / -1!important;
  width:min(920px,100%)!important;
  max-width:920px!important;
  margin:10px auto 0!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:24px!important;
  justify-content:center!important;
  align-items:stretch!important;
}

.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .nexpos-screen-choice .nexpos-native-card{
  min-height:154px!important;
  padding:28px 64px 28px 26px!important;
  grid-template-columns:54px minmax(0,1fr)!important;
  gap:18px!important;
  align-content:center!important;
}

.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .nexpos-screen-choice .nexpos-native-card-title{
  font-size:22px!important;
  line-height:1.18!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}

.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .nexpos-screen-choice .nexpos-native-card-description{
  max-width:310px!important;
  font-size:15px!important;
  line-height:1.48!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}

@media (max-width:767px){
  .ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .nexpos-screen-choice .nexpos-native-choice{
    width:100%!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:12px!important;
    margin-top:4px!important;
  }

  .ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .nexpos-screen-choice .nexpos-native-card{
    min-height:112px!important;
    padding:19px 52px 19px 18px!important;
    grid-template-columns:44px minmax(0,1fr)!important;
    gap:13px!important;
  }

  .ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .nexpos-screen-choice .nexpos-native-card-title{
    font-size:18px!important;
  }

  .ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .nexpos-screen-choice .nexpos-native-card-description{
    max-width:none!important;
    font-size:13px!important;
  }
}

/* v1.1.2: readable intake screens and compact, consistently positioned actions. */
.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .ymd-vp-form .nexpos-app-step.nexpos-intake-choice,
.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .ymd-vp-form .nexpos-app-step.nexpos-intake-callback,
.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .ymd-vp-form .nexpos-app-step[data-step-key="entry"],
.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .ymd-vp-form .nexpos-app-step[data-step-key="callback_contact"]{
  max-width:960px!important;margin-inline:auto!important;padding-bottom:140px!important;
}
.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .ymd-vp-form .nexpos-intake-cards .nexpos-intake-option{
  display:flex!important;align-items:center!important;gap:16px!important;
  width:100%!important;height:auto!important;min-height:104px!important;
  padding:20px!important;border:1.5px solid #d3dbea!important;border-radius:16px!important;
  background:#fff!important;color:#162b55!important;box-shadow:none!important;text-align:start!important;
  white-space:normal!important;line-height:1.45!important;
}
.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .ymd-vp-form .nexpos-intake-cards .nexpos-intake-option.is-selected{border-color:#315fb5!important;background:#eef3ff!important;box-shadow:0 0 0 1px #315fb5!important}
.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .ymd-vp-form .nexpos-intake-cards .nexpos-intake-option:focus-visible{outline:3px solid #315fb5!important;outline-offset:4px!important}
.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .ymd-vp-form .nexpos-intake-option strong{font-size:18px!important}
.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .ymd-vp-form .nexpos-intake-option small{font-size:14px!important;margin-top:5px!important;line-height:1.5!important}
.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .ymd-vp-form .nexpos-intake-option .nexpos-intake-icon{flex:0 0 48px!important;width:48px!important;height:48px!important;font-size:25px!important}
.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .ymd-vp-form .nexpos-intake-fields{gap:22px!important}
.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .ymd-vp-form .nexpos-intake-fields label{min-width:0!important;font-size:15px!important}
.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .ymd-vp-form .nexpos-intake-fields label input:not([type="checkbox"]),
.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .ymd-vp-form .nexpos-intake-fields label select,
.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .ymd-vp-form .nexpos-intake-fields label textarea{
  width:100%!important;max-width:none!important;box-sizing:border-box!important;
  min-height:48px!important;border-radius:10px!important;padding:12px 14px!important;
  font-size:16px!important;box-shadow:none!important;margin-top:8px!important;
}
.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .ymd-vp-form .nexpos-intake-fields .nexpos-intake-span{grid-column:1/-1!important}
.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .ymd-vp-form .nexpos-intake-fields .nexpos-intake-consent{align-items:flex-start!important;line-height:1.6!important;padding:16px!important}
.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .ymd-vp-form .nexpos-intake-fields .nexpos-intake-consent input{flex:0 0 20px!important;margin-top:3px!important}
body > .nexpos-cd-docked-nav.nxwf-actionbar.nexpos-intake-nav{
  width:min(960px,calc(100vw - 32px))!important;max-width:960px!important;
  padding:12px!important;box-sizing:border-box!important;border-radius:16px!important;
  gap:12px!important;grid-template-columns:minmax(90px,1fr) minmax(0,2fr)!important;
}
body > .nexpos-cd-docked-nav.nxwf-actionbar.nexpos-intake-nav button[data-nexpos-nav]{
  min-height:48px!important;height:auto!important;padding:12px 16px!important;
  border-radius:10px!important;font-size:16px!important;line-height:1.35!important;white-space:normal!important;
}
body > .nexpos-cd-docked-nav.nxwf-actionbar.nexpos-intake-nav button[aria-disabled="true"]{cursor:wait!important}
@media(max-width:640px){
 .ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .ymd-vp-form .nexpos-intake-fields{grid-template-columns:1fr!important;gap:18px!important}
 .ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .ymd-vp-form .nexpos-intake-cards .nexpos-intake-option{padding:16px!important;gap:12px!important}
 body > .nexpos-cd-docked-nav.nxwf-actionbar.nexpos-intake-nav{width:calc(100vw - 16px)!important;gap:8px!important;padding:8px!important}
}
.ymd-vp-wrap.nexpos-contractdesk-app.nexpos-cd-v3614 .ymd-vp-shell.nxwf-shell:has(.is-callback-flow){scroll-padding-bottom:140px!important}
