/* Natlus tele-lead form */
.nct {
  --ink: var(--nc-ink, #181818);
  --paper: var(--nc-paper, #fff);
  --primary: var(--nc-primary, #fd521d);
  --peach: var(--nc-peach, #fff3ed);
  --peach-deep: var(--nc-peach-deep, #ffe2d4);
  --line: var(--nc-line, #ebdfd8);
  --muted: var(--nc-muted, #5c5450);
  --smoke: var(--nc-smoke, #b9b0ab);
  --orange-ink: var(--nc-orange-ink, #bf3a0c);
  --radius: var(--nc-radius, 22px);
  --display: var(--nc-display, "Saira Expanded", "Montserrat", system-ui, sans-serif);
  --body: var(--wp--preset--font-family--body, "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif);
  --shadow: 0 1px 2px rgb(24 24 24 / 0.04), 0 24px 48px -28px rgb(24 24 24 / 0.28);
  --field-bg: #fdfbfa;
  --err: #b42318;
  --ok: #067647;
  container: nct / inline-size;
  max-width: 54rem;
  margin-inline: auto;
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
.nct *, .nct *::before, .nct *::after { box-sizing: border-box; }
.nct :where(h1, h2, p, fieldset, legend) { margin: 0; }
.nct-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Header: logo only while on the form page */
body.nct-page .nc-topbar,
body.nct-page .nc-header__right { display: none !important; }
body.nct-page .nc-header__row { align-items: center; }
.nct-header-user {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font: 600 0.8125rem/1 var(--wp--preset--font-family--body, "Montserrat", system-ui, sans-serif); white-space: nowrap;
}
.nct-header-user__name { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.55rem 0.9rem; border-radius: 999px; background: var(--nc-peach, #fff3ed); color: var(--nc-ink, #181818); }
.nct-header-user__name svg { flex: none; color: var(--nc-primary, #fd521d); }
.nct-header-user__out {
  display: inline-flex; align-items: center; padding: 0.5rem 0.95rem; border: 1.5px solid var(--nc-ink, #181818); border-radius: 999px;
  color: var(--nc-ink, #181818) !important; text-decoration: none !important; background: #fff;
}
.nct-header-user__out:hover { background: var(--nc-ink, #181818); color: #fff !important; }
@media (max-width: 420px) { .nct-header-user__name { display: none; } }
body.nct-page .post-password-form {
  display: grid; gap: 1rem; max-width: 30rem; margin: 2rem auto; padding: 2rem;
  border: 1px solid var(--nc-line, #ebdfd8); border-radius: var(--nc-radius, 22px); background: #fff;
  box-shadow: 0 1px 2px rgb(24 24 24 / 0.04), 0 24px 48px -28px rgb(24 24 24 / 0.28);
}
body.nct-page .post-password-form p { margin: 0; }
body.nct-page .post-password-form label { display: grid; gap: 0.4rem; font-weight: 600; font-size: 0.875rem; }
body.nct-page .post-password-form input[type=password] {
  width: 100%; height: 3.1rem; padding: 0 1rem; border: 1.5px solid var(--nc-line, #ebdfd8); border-radius: 12px; font-size: 1rem;
}
body.nct-page .post-password-form p:last-child { display: grid; gap: 0.9rem; }
body.nct-page .post-password-form-invalid-password p { color: #b42318; font-weight: 600; }

/* Card */
.nct-card {
  display: grid;
  padding: clamp(1.25rem, 4cqi, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.nct-head { display: grid; gap: 1.25rem; align-items: end; grid-template-columns: minmax(0, 1fr); }
@container nct (min-width: 40rem) { .nct-head { grid-template-columns: minmax(0, 1fr) 17rem; } }
.nct-head__titles { display: grid; gap: 0.35rem; }
.nct-eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-ink); }
.nct-title { font-family: var(--display); font-size: clamp(1.6rem, 1.2rem + 1.8cqi, 2.2rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; outline: none; }
.nct-sub { color: var(--muted); font-size: 0.9375rem; }
.nct-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.1rem; }
.nct-chip { display: inline-flex; gap: 0.4rem; align-items: baseline; padding: 0.35rem 0.75rem; border-radius: 999px; background: var(--peach); font-size: 0.8125rem; color: var(--ink); }
.nct-chip b { font-weight: 700; color: var(--orange-ink); }
.nct-banner { margin-top: 1rem !important; padding: 0.8rem 1rem; border-radius: 12px; background: #fef3f2; color: var(--err); font-size: 0.875rem; font-weight: 600; }

/* Signed-in agent */
.nct-agent { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.6rem; padding: 0.85rem 1rem; border-radius: 14px; background: var(--peach); }
.nct-agent__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-ink); }
.nct-agent__name { font-size: 1rem; font-weight: 700; }
.nct .nct-agent__out { margin-left: auto; font-size: 0.8125rem; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.nct-agent .nct-error { flex-basis: 100%; }

/* Sign-in */
.nct-signin { max-width: 28rem; margin-inline: auto; gap: 0.35rem; }
.nct-signin form { display: grid; gap: 0.9rem; margin-top: 1.1rem; }
.nct-signin form p { margin: 0; }
.nct-signin label { display: block; margin-bottom: 0.35rem; font-size: 0.875rem; font-weight: 600; }
.nct .nct-signin input[type=text], .nct .nct-signin input[type=password] {
  width: 100%; height: 3.1rem; padding: 0 1rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--field-bg);
  font: 500 1rem/1.2 var(--body); color: var(--ink); box-shadow: none;
}
.nct .nct-signin input[type=text]:focus, .nct .nct-signin input[type=password]:focus { outline: none; border-color: var(--ink); background: var(--paper); box-shadow: 0 0 0 4px rgb(253 82 29 / 0.18); }
.nct-signin .login-remember label { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0; font-weight: 500; }
.nct .nct-signin input[type=submit] {
  width: 100%; min-height: 3.1rem; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 700 1rem/1 var(--body); cursor: pointer;
}
.nct .nct-signin input[type=submit]:hover { background: var(--primary); color: var(--ink); }
.nct-signin__btn { display: inline-flex; padding: 0.8rem 1.4rem; border-radius: 999px; background: var(--ink); color: #fff !important; font-weight: 700; text-decoration: none !important; }
.nct-welcome { max-width: 54rem; margin: 0 auto 1rem; padding: 0.85rem 1.1rem; border-radius: 14px; background: #ecfdf3; color: #067647; font: 600 0.9375rem/1.4 var(--wp--preset--font-family--body, "Montserrat", system-ui, sans-serif); }
.nct-signin__lost { margin-top: 0.4rem !important; font-size: 0.875rem; text-align: center; }
.nct-signin__lost a { color: var(--ink); }

/* Sections */
.nct-section { display: grid; gap: 1.25rem; margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px dashed var(--line); }
.nct-section__title { display: flex; align-items: center; gap: 0.7rem; font-family: var(--display); font-size: 1.15rem; font-weight: 600; line-height: 1.2; }
.nct-section__title span { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--ink); color: #fff; font: 700 0.875rem/1 var(--body); }
.nct-grid { display: grid; gap: 1.1rem 1rem; grid-template-columns: minmax(0, 1fr); }
@container nct (min-width: 34rem) { .nct-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Fields */
.nct-field { display: grid; gap: 0.4rem; min-width: 0; align-content: start; }
.nct-fieldset { padding: 0; border: 0; }
.nct-label { padding: 0; font-size: 0.875rem; font-weight: 600; line-height: 1.3; color: var(--ink); }
.nct-fieldset > .nct-label { margin-bottom: 0.4rem; }
.nct-req { color: var(--orange-ink); }
.nct-opt { font-weight: 400; color: var(--muted); }
.nct-opt--brief { display: none; }
.nct-card.is-brief .nct-req--full { display: none; }
.nct-card.is-brief .nct-opt--brief { display: inline; }
.nct-control { position: relative; display: flex; align-items: center; }
.nct .nct-input {
  width: 100%; max-width: none; height: 3.1rem; margin: 0; padding: 0 1rem;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--field-bg); box-shadow: none;
  color: var(--ink); font: 500 1rem/1.2 var(--body);
  -webkit-appearance: none; appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.nct .nct-input::placeholder { color: var(--smoke); opacity: 1; }
.nct .nct-input:hover { border-color: var(--smoke); }
.nct .nct-input:focus, .nct .nct-input:focus-visible { outline: none; border-color: var(--ink); background: var(--paper); box-shadow: 0 0 0 4px rgb(253 82 29 / 0.18); }
.nct .is-invalid .nct-input { border-color: var(--err); background: #fffafa; }
.nct .nct-select { padding-right: 2.75rem; cursor: pointer; text-overflow: ellipsis; }
.nct .nct-select.is-placeholder { color: var(--muted); }
.nct-chev { position: absolute; right: 1rem; display: flex; color: var(--muted); pointer-events: none; }
.nct .nct-textarea { height: auto; min-height: 7rem; padding: 0.85rem 1rem; line-height: 1.5; resize: vertical; }
.nct-control--money .nct-adorn { position: absolute; left: 1rem; font-weight: 700; color: var(--muted); pointer-events: none; }
.nct .nct-control--money .nct-input { padding-left: 2rem; }
.nct-hint { font-size: 0.8125rem; color: var(--muted); }
.nct-error { display: flex; gap: 0.375rem; align-items: flex-start; font-size: 0.8125rem; font-weight: 600; line-height: 1.4; color: var(--err); }
.nct-error svg { flex: none; margin-top: 0.05rem; }
.nct-error[hidden] { display: none; }

/* Pills (radio buttons) */
.nct-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.nct-pills--disposition { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 11.5rem), 1fr)); }
.nct-pill { position: relative; cursor: pointer; }
.nct-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nct-pill span {
  display: flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0.55rem 1rem;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper);
  font-size: 0.875rem; font-weight: 600; line-height: 1.25; text-align: center; color: var(--ink);
  transition: border-color 0.15s, background-color 0.15s, color 0.15s, box-shadow 0.15s;
}
.nct-pill:hover span { border-color: var(--smoke); }
.nct-pill input:focus-visible + span { outline: 3px solid var(--primary); outline-offset: 2px; }
.nct-pill.is-checked span { border-color: var(--ink); background: var(--ink); color: #fff; }
.nct-pills--interest .nct-pill span { min-width: 6.5rem; }
.nct-pills--interest .nct-pill--hot.is-checked span { background: #d92d20; border-color: #d92d20; }
.nct-pills--interest .nct-pill--warm.is-checked span { background: #f79009; border-color: #f79009; color: #181818; }
.nct-pills--interest .nct-pill--cold.is-checked span { background: #2e90fa; border-color: #2e90fa; }
.nct-pills--interest .nct-pill--not-interested.is-checked span { background: #667085; border-color: #667085; }
.nct-pills--disposition .nct-pill--live-transfer.is-checked span { background: var(--ok); border-color: var(--ok); }
.nct-pills--disposition .nct-pill--do-not-call.is-checked span { background: var(--err); border-color: var(--err); }
.is-invalid .nct-pill span { border-color: #f4b4ad; }

/* Follow-up */
.nct-follow[hidden] { display: none; }
.nct-follow { padding: 1rem; border-radius: 16px; background: var(--peach); }
.nct-follow .nct-field { max-width: 30rem; }
.nct-follow .nct-input { background: var(--paper); }
.nct .nct-input[type="datetime-local"] { min-width: 0; max-width: 100%; } /* Chrome gives it a wide minimum on phones. */
.nct-follow, .nct-follow .nct-field, .nct-follow .nct-control { min-width: 0; }
.nct-quick { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.15rem; }
.nct .nct-quick button {
  padding: 0.35rem 0.75rem; border: 1px solid var(--peach-deep); border-radius: 999px; background: var(--paper);
  font: 600 0.8125rem/1.2 var(--body); color: var(--ink); cursor: pointer;
}
.nct .nct-quick button:hover { border-color: var(--ink); }

/* Footer + buttons */
.nct-foot {
  position: sticky; bottom: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin: 2rem calc(-1 * clamp(1.25rem, 4cqi, 2.25rem)) calc(-1 * clamp(1.25rem, 4cqi, 2.25rem));
  padding: 1rem clamp(1.25rem, 4cqi, 2.25rem);
  border-top: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius);
  background: rgb(253 250 248 / 0.96); backdrop-filter: blur(6px);
}
.nct-foot__note { font-size: 0.875rem; font-weight: 600; color: var(--muted); }
.nct .nct-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 3.1rem; padding: 0 1.6rem; border: 1.5px solid transparent; border-radius: 999px;
  font: 700 1rem/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
}
.nct .nct-btn:active { transform: translateY(1px); }
.nct .nct-btn--primary { min-width: 11rem; background: var(--ink); color: #fff; }
.nct .nct-btn--primary:hover { background: var(--primary); color: var(--ink); }
.nct .nct-btn--primary:disabled { opacity: 0.7; cursor: progress; }
.nct .nct-btn--ghost { border-color: var(--line); background: var(--paper); color: var(--ink); }
.nct .nct-btn--ghost:hover { border-color: var(--ink); }
.nct-spinner { width: 1.1rem; height: 1.1rem; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: nct-spin 0.7s linear infinite; }
.nct-spinner[hidden] { display: none; }
@keyframes nct-spin { to { transform: rotate(360deg); } }
@container nct (max-width: 30rem) {
  .nct-foot { flex-direction: column-reverse; align-items: stretch; }
  .nct .nct-btn { width: 100%; }
  .nct-foot__note { text-align: center; }
}

/* Done */
.nct-done { justify-items: center; gap: 0.6rem; padding-block: clamp(2rem, 6cqi, 3.25rem); text-align: center; }
.nct-done__icon { display: grid; place-items: center; width: 4rem; height: 4rem; margin-bottom: 0.4rem; border-radius: 50%; background: #ecfdf3; color: var(--ok); animation: nct-pop 0.35s ease both; }
.nct-done__icon.is-warn { background: #fef3f2; color: var(--err); }
.nct-done .nct-banner { max-width: 34rem; }
.nct-done__out { margin-top: 1.25rem !important; font-size: 0.875rem; color: var(--muted); }
.nct-done__out a { color: var(--ink); font-weight: 600; }
.nct-signin .nct-note--err { background: #fef3f2 !important; color: var(--err) !important; }
.nct-signin .nct-note { margin-bottom: 0.75rem; padding: 0.7rem 0.9rem; border-radius: 12px; background: #ecfdf3; color: var(--ok); font-size: 0.875rem; font-weight: 600; }
.nct-done__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 1rem; }
@keyframes nct-pop { from { transform: scale(0.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Locked */
.nct-locked { padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--peach); }
.nct-locked h2 { font-family: var(--display); font-size: 1.4rem; margin-bottom: 0.5rem; }

@media (prefers-reduced-motion: reduce) {
  .nct *, .nct *::before, .nct *::after { animation: none !important; transition: none !important; }
}

/* Event sign-up form (public) */
.nce .nct-foot--event { position: static; margin-bottom: 0; border-radius: 0; border-bottom: 1px solid var(--line); }
.nct-consent { margin: 1rem 0 0 !important; font-size: 0.75rem; line-height: 1.5; color: var(--muted); }
.nct-consent a { color: var(--ink); }
.nce .nct-done .nct-sub a { color: var(--ink); font-weight: 700; }
